[ 
https://issues.apache.org/jira/browse/SPARK-37796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

XiDuo You updated SPARK-37796:
------------------------------
    Description: 
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 check of aligning if the platform is unaligned.

  was:
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.


> ByteArrayMethods arrayEquals should fast skip the check of aligning with 
> 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
>            Priority: Major
>
> 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 check of aligning 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