Expand description
Contains architecture independent routines.
These routines are often used as a “fallback” implementation when the more specialized architecture dependent routines are unavailable.
Modules§
- memchr
- Provides architecture independent implementations of
memchr
and friends. - packedpair
- Provides an architecture independent implementation of the “packed pair” algorithm.
- rabinkarp
- An implementation of the Rabin-Karp substring search algorithm.
- shiftor
- An implementation of the Shift-Or substring search algorithm.
- twoway
- An implementation of the Two-Way substring search algorithm.
Functions§
- is_
equal - Compare corresponding bytes in
x
andy
for equality. - is_
equal_ ⚠raw - Compare
n
bytes at the given pointers for equality. - is_
prefix - Returns true if and only if
needle
is a prefix ofhaystack
. - is_
suffix - Returns true if and only if
needle
is a suffix ofhaystack
.