News for hackers. Stuff that matters.
Re:How the JVM compares strings on x86 using pcmpestri by brianon99 on Sunday January 07, 2018 @09:57AM (#16091030)
Agree that using vector instruction is not crazy at all. I am quite interested when I see the article title, and then deeply disappointed after I read it. I was expecting something like the strlen shown in the book The Hackers Delight, which loads 4 bytes into a int, ad then some bit masking and subtraction and a nlz (number of leading zero) to index the first 0 byte. Please read it first and that is what really what meant by crazy.

There are no comments on this comment yet.