String comparison

245 views
Skip to first unread message

David Anthoff

unread,
Sep 1, 2016, 3:57:35 PM9/1/16
to juli...@googlegroups.com

I just saw this:

 

http://jcdav.is/2016/09/01/How-the-JVM-compares-your-strings/

 

I don’t know whether that might be relevant for julia, but I certainly wasn’t aware that there are special SSE instructions for string comparison and it was a fun read.

 

Cheers,

David

 

--

David Anthoff

University of California, Berkeley

 

http://www.david-anthoff.com

 

Steven G. Johnson

unread,
Sep 3, 2016, 9:05:34 AM9/3/16
to julia-dev
Comparisons for String in Julia call memcmp in libc, which hopefully is heavily optimized.  (I know that glibc's memcmp uses SSE instructions, for example.)
Reply all
Reply to author
Forward
0 new messages