freebsd-dev/sys/libkern
David Schultz f0ceb98f93 Replace the current strspn() and strcspn() with significantly faster
implementations inspired by the ones in DragonFly.  Unlike the
DragonFly versions, these have a small data cache footprint, and my
tests show that they're never slower than the old code except when the
charset or the span is 0 or 1 characters.  This implementation is
generally faster than DragonFly until either the charset or the span
gets in the ballpark of 32 to 64 characters.
2005-04-02 18:52:44 +00:00
..
alpha
arm
ia64
arc4random.c
ashldi3.c
ashrdi3.c
bcd.c
bcmp.c
bsearch.c
crc32.c
divdi3.c
ffs.c
ffsl.c
fls.c
flsl.c
fnmatch.c
gets.c
iconv_converter_if.m
iconv_xlat16.c
iconv_xlat.c
iconv.c
index.c
inet_ntoa.c
lshrdi3.c
mcount.c
moddi3.c
qdivrem.c
qsort_r.c
qsort.c
quad.h
random.c
rindex.c
scanc.c
skpc.c
strcat.c
strcmp.c
strcpy.c
strdup.c
strlcat.c
strlcpy.c
strlen.c
strncmp.c
strncpy.c
strsep.c
strspn.c
strtol.c
strtoq.c
strtoul.c
strtouq.c
strvalid.c
ucmpdi2.c
udivdi3.c
umoddi3.c