Github user viirya commented on a diff in the pull request:
    --- Diff: 
common/unsafe/src/main/java/org/apache/spark/unsafe/hash/ ---
    @@ -87,6 +106,35 @@ public static int hashUnsafeBytes2(Object base, long 
offset, int lengthInBytes,
         return fmix(h1, lengthInBytes);
    +  public static int hashUnsafeBytes2Block(MemoryBlock base, int seed) {
    --- End diff --
    Can't we just call `hashUnsafeBytes2` with the `baseObject`, `baseOffset` 
and `size` of `base`?


To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to