is there any faster way to parse than by walk each byte?

Posted by uray on Stack Overflow See other posts from Stack Overflow or by uray
Published on 2010-06-16T19:53:05Z Indexed on 2010/06/16 20:02 UTC
Read the original article Hit count: 186

Filed under:
|
|
|
|

is there any faster way to parse a text than by walk each byte of the text?

I wonder if there is any special CPU (x86/x64) instruction for string operation that is used by string library, that somehow used to optimize the parsing routine.

for example instruction like finding a token in a string that could be run by hardware instead of looping each byte until a token is found.

© Stack Overflow or respective owner

Related posts about c++

Related posts about string