mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
584b18eb4d
A sse42 version of strstr used pcmpistr instruction which is quite ineffective. A faster way is look for pairs of characters which is uses sse2, is faster than pcmpistr and for real strings a pairs we look for are relatively rare. For linear time complexity we use buy or rent technique which switches to two-way algorithm when superlinear behaviour is detected. |
||
---|---|---|
.. | ||
generic | ||
gnu | ||
i386 | ||
ieee754 | ||
init_array | ||
mach | ||
posix | ||
powerpc | ||
pthread | ||
s390 | ||
sh | ||
sparc | ||
unix | ||
wordsize-32 | ||
wordsize-64 | ||
x86 | ||
x86_64 |