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

Archit Agarwal moved CASSANDRA-20724 to CASSANALYTICS-68:
---------------------------------------------------------

     Impacts:   (was: None)
         Key: CASSANALYTICS-68  (was: CASSANDRA-20724)
    Platform:   (was: All)
     Project: Apache Cassandra Analytics  (was: Apache Cassandra)

> Optimise byte array to hex string conversion 
> ---------------------------------------------
>
>                 Key: CASSANALYTICS-68
>                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-68
>             Project: Apache Cassandra Analytics
>          Issue Type: Improvement
>            Reporter: Archit Agarwal
>            Assignee: Archit Agarwal
>            Priority: Normal
>
> Current implementation of converting byte array to hex string uses string 
> formatting which needs to parse the format ("%02x") for every byte. This 
> takes a lot of time and CPU. 
> {code:java}
> "0x" + x.map("%02x" format _).mkString{code}
> Change to standard way using bit operations drastically increases the 
> performance. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to