summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcscpy.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-04-02 18:52:44 +0000
committerdas <das@FreeBSD.org>2005-04-02 18:52:44 +0000
commit87aa2970305bd4af23f1d21ad5990d9a7c1aa358 (patch)
treed2267f4f8d33c0e82735d827589bcfb6c959f078 /lib/libc/string/wcscpy.c
parent02f22e6e2c170ac230a7ff0afa878825b54994e3 (diff)
downloadFreeBSD-src-87aa2970305bd4af23f1d21ad5990d9a7c1aa358.zip
FreeBSD-src-87aa2970305bd4af23f1d21ad5990d9a7c1aa358.tar.gz
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.
Diffstat (limited to 'lib/libc/string/wcscpy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud