This utilizes vectors and bitmasks. For small needle, large haystack, the performance improvement is upto 8x. For short strings (0-4B), the cost of computing the bitmask dominates, and is a tad slower. |
||
---|---|---|
.. | ||
fpu | ||
multiarch | ||
Implies | ||
memset.S | ||
stpcpy.S | ||
stpncpy.S | ||
strcmp.S | ||
strcpy.S | ||
strncmp.S | ||
strncpy.S | ||
strspn.S |