[
https://issues.apache.org/jira/browse/ARROW-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16667574#comment-16667574
]
Antoine Pitrou commented on ARROW-3536:
---------------------------------------
Thanks for the heads-up [~lemire]. Two points:
# the major interest in "non-SIMD" code is for readability and portability.
So, the compiler being able to autovectorize it is an advantage in my mind
# In the case of the code I posted on
[https://github.com/lemire/fastvalidate-utf-8/issues/15] , I did the
measurements with {{-O2}} to try and ensure that no vectorization happened.
> [C++] Fast UTF8 validation functions
> ------------------------------------
>
> Key: ARROW-3536
> URL: https://issues.apache.org/jira/browse/ARROW-3536
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.13.0
>
>
> [~lemire] discusses this topic in
> https://lemire.me/blog/2018/05/16/validating-utf-8-strings-using-as-little-as-0-7-cycles-per-byte/
> In Java there is also
> https://lemire.me/blog/2018/10/16/validating-utf-8-bytes-java-edition/
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)