[ 
https://issues.apache.org/jira/browse/SPARK-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582691#comment-14582691
 ] 

Tarek Auel edited comment on SPARK-8301 at 6/11/15 11:45 PM:
-------------------------------------------------------------

Another approach could be:

(0 until b.length).forall(( i ) => b( i ) == bytes( i ))

In theory this could be parallelised,


was (Author: tarekauel):
Another approach could be:

(0 until b.length).forall((i) => b(i) == bytes(i))

In theory this could be parallelised,

> Improve UTF8String substring/startsWith/endsWith/contains performance
> ---------------------------------------------------------------------
>
>                 Key: SPARK-8301
>                 URL: https://issues.apache.org/jira/browse/SPARK-8301
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Reynold Xin
>            Priority: Critical
>
> Many functions in UTF8String are unnecessarily expensive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to