XiDuo You created SPARK-37796:
---------------------------------

             Summary: ByteArrayMethods arrayEquals should fast skip the 
checking of aligned in unaligned platform
                 Key: SPARK-37796
                 URL: https://issues.apache.org/jira/browse/SPARK-37796
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: XiDuo You


The method `arrayEquals` in `ByteArrayMethods` is critical function which is 
used in `UTF8String.` `equals`, `indexOf`,`find` etc.

After SPARK-16962, it add the complexity of aligned. It would be better to fast 
sikip the checking of aligned if the platform is unaligned.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to