f0ceb98f93
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. |
||
---|---|---|
.. | ||
bcmp.3 | ||
bcmp.c | ||
bcopy.3 | ||
bcopy.c | ||
bstring.3 | ||
bzero.3 | ||
bzero.c | ||
ffs.3 | ||
ffs.c | ||
ffsl.c | ||
fls.c | ||
flsl.c | ||
index.3 | ||
index.c | ||
Makefile.inc | ||
memccpy.3 | ||
memccpy.c | ||
memchr.3 | ||
memchr.c | ||
memcmp.3 | ||
memcmp.c | ||
memcpy.3 | ||
memcpy.c | ||
memmove.3 | ||
memmove.c | ||
memset.3 | ||
memset.c | ||
rindex.c | ||
stpcpy.c | ||
strcasecmp.3 | ||
strcasecmp.c | ||
strcasestr.c | ||
strcat.3 | ||
strcat.c | ||
strchr.3 | ||
strchr.c | ||
strcmp.3 | ||
strcmp.c | ||
strcoll.3 | ||
strcoll.c | ||
strcpy.3 | ||
strcpy.c | ||
strcspn.3 | ||
strcspn.c | ||
strdup.3 | ||
strdup.c | ||
strerror.3 | ||
strerror.c | ||
string.3 | ||
strlcat.c | ||
strlcpy.3 | ||
strlcpy.c | ||
strlen.3 | ||
strlen.c | ||
strmode.3 | ||
strmode.c | ||
strncat.c | ||
strncmp.c | ||
strncpy.c | ||
strnstr.c | ||
strpbrk.3 | ||
strpbrk.c | ||
strrchr.c | ||
strsep.3 | ||
strsep.c | ||
strsignal.c | ||
strspn.3 | ||
strspn.c | ||
strstr.3 | ||
strstr.c | ||
strtok.3 | ||
strtok.c | ||
strxfrm.3 | ||
strxfrm.c | ||
swab.3 | ||
swab.c | ||
wcscat.c | ||
wcschr.c | ||
wcscmp.c | ||
wcscoll.3 | ||
wcscoll.c | ||
wcscpy.c | ||
wcscspn.c | ||
wcslcat.c | ||
wcslcpy.c | ||
wcslen.c | ||
wcsncat.c | ||
wcsncmp.c | ||
wcsncpy.c | ||
wcspbrk.c | ||
wcsrchr.c | ||
wcsspn.c | ||
wcsstr.c | ||
wcstok.3 | ||
wcstok.c | ||
wcswidth.3 | ||
wcswidth.c | ||
wcsxfrm.3 | ||
wcsxfrm.c | ||
wmemchr.3 | ||
wmemchr.c | ||
wmemcmp.c | ||
wmemcpy.c | ||
wmemmove.c | ||
wmemset.c |