Eric Blake
dcc2f67b6f
memchr, memchr2: add valgrind exception
...
* lib/memchr.valgrind: New file.
* lib/memchr2.valgrind: New file.
* modules/memchr (Files): Distribute valgrind file.
* modules/memchr2 (Files): Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net >
2009-06-15 21:05:08 -06:00
Bruno Haible
a889637c9e
Relicense the getndelim2 dependencies under LGPLv2+.
2008-09-06 12:12:41 +02:00
Eric Blake
8b8527c54c
Remove intprops dependency.
...
* modules/memchr (Depends-on): Remove intprops.
* modules/memrchr (Depends-on): Likewise.
* modules/memchr2 (Depends-on): Likewise.
* lib/memchr.c (__memchr): Hand-inline the TYPE_MAXIMUM check.
* lib/memrchr.c (__memrchr): Likewise.
* lib/memrchr2.c (memchr2): Likewise.
Reported by Simon Josefsson.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-04-28 15:04:49 -06:00
Eric Blake
092621651b
Improve memchr2 performance.
...
* lib/memchr2.c (memchr2): Further optimize parallel detection of
NUL bytes.
* modules/memchr2 (Depends-on): Use intprops.h.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-04-23 15:03:40 -06:00
Eric Blake
f91b9f9732
New module 'memchr2'.
...
* modules/memchr2: New file.
* modules/memchr2-tests: Likewise.
* lib/memchr2.h: Likewise.
* lib/memchr2.c: Likewise, based on memchr.c.
* tests/test-memchr2.c: New test.
* MODULES.html.sh (String handling): Add memchr2.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-03-01 06:54:29 -07:00