Github user kiszk commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19222#discussion_r175859167
  
    --- Diff: 
common/unsafe/src/main/java/org/apache/spark/unsafe/array/ByteArrayMethods.java 
---
    @@ -48,6 +49,16 @@ public static int roundNumberOfBytesToNearestWord(int 
numBytes) {
       public static int MAX_ROUNDED_ARRAY_LENGTH = Integer.MAX_VALUE - 15;
     
       private static final boolean unaligned = Platform.unaligned();
    +  /**
    +   * MemoryBlock equality check for MemoryBlocks.
    +   * @return true if the arrays are equal, false otherwise
    +   */
    +  public static boolean arrayEqualsBlock(
    --- End diff --
    
    This method is called from `UTF8String` class.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to