OpenGrok
Cross Reference: wcspbrk.c
xref
: /
src
/
lib
/
libc
/
string
/
wcspbrk.c
Home
|
History
|
Annotate
|
Download
|
only in
string
History log of
/src/lib/libc/string/wcspbrk.c
Revision
Date
Author
Comments
1.5
24-Nov-2011
joerg
In wcscspn and wcspbrk, handle set size of 0 and 1 explicitly.
For larger sets, use a bloom filter to avoid the inner loop for most of
the input. The current implementation uses a simple modular hash as
first function (well suited for input e.g. in ISO Latin character sets)
and a more complex multiplicative hash as second function with a filter
size of 512 Bit. This reduces the typical run time to O(n+m).
1.4
21-Nov-2011
joerg
Clean up a bit in preparation for more serious changes
1.3
29-Nov-2005
christos
branches: 1.3.44;
WARNS=4
1.2
03-Jan-2001
lukem
sprinkle in _DIAGASSERT() as appropriate
1.1
23-Dec-2000
itojun
move wcs* and wmem* from lib/libc/locale to lib/libc/string.
1.3.44.1
17-Apr-2012
yamt
sync with head
Indexes created Thu Oct 02 01:09:59 GMT 2025