Skip to content

Commit

Permalink
Use previous crc result.
Browse files Browse the repository at this point in the history
  • Loading branch information
koculu committed Sep 13, 2023
1 parent 2ae6b30 commit dbf6fa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ZoneTree/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<Authors>Ahmed Yasin Koculu</Authors>
<PackageId>ZoneTree</PackageId>
<Title>ZoneTree</Title>
<ProductVersion>1.6.7.0</ProductVersion>
<Version>1.6.7.0</Version>
<ProductVersion>1.6.8.0</ProductVersion>
<Version>1.6.8.0</Version>
<Authors>Ahmed Yasin Koculu</Authors>
<AssemblyTitle>ZoneTree</AssemblyTitle>
<Description>ZoneTree is a persistent, high-performance, transactional, ACID-compliant ordered key-value database for NET. It can operate in memory or on local/cloud storage.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/ZoneTree/WAL/Crc32Computer_SSE42_X86.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed class Crc32Computer_SSE42_X86
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static uint Compute(uint crc, ulong data)
{
var result = (uint)Sse42.Crc32(crc, (uint)data);
crc = (uint)Sse42.Crc32(crc, (uint)data);
return Sse42.Crc32(crc, (uint)(data >> 32));
}

Expand Down

0 comments on commit dbf6fa5

Please sign in to comment.