Skip to content

Commit

Permalink
fixup! Use MemorySegment in the XxHash64
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed May 11, 2024
1 parent 6fb86ad commit e2cfdcd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/io/airlift/slice/XxHash64.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ private void updateHash(byte[] base, long address, int length)
}

if (length > 0) {

MemorySegment from = MemorySegment.ofArray(base)
.asSlice(address, length);
segment.copyFrom(from);
Expand Down

0 comments on commit e2cfdcd

Please sign in to comment.