You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/05/25 03:09:00 UTC
[jira] [Assigned] (SPARK-39282) Replace If-Else branch with bitwise operators in roundNumberOfBytesToNearestWord
[ https://issues.apache.org/jira/browse/SPARK-39282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-39282:
------------------------------------
Assignee: Apache Spark
> Replace If-Else branch with bitwise operators in roundNumberOfBytesToNearestWord
> --------------------------------------------------------------------------------
>
> Key: SPARK-39282
> URL: https://issues.apache.org/jira/browse/SPARK-39282
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.2.1
> Reporter: xiangxiang Shen
> Assignee: Apache Spark
> Priority: Major
>
> [https://github.com/apache/spark/blob/a6dd6076d708713d11585bf7f3401d522ea48822/common/unsafe/src/main/java/org/apache/spark/unsafe/array/ByteArrayMethods.java#L40-L47]
>
> Here,can use bitwise operators to avoid If-Else branch and improve computation performance.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org