Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-01 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
* All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise. | |||||
2017-01-01 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
2016-12-14 | Improve strtok and strtok_r performance. Instead of calling strpbrk which | Wilco Dijkstra | 1 | -15/+16 | |
calls strcspn, call strcspn directly so we get the end of the token without an extra call to rawmemchr. Also avoid an unnecessary call to strcspn after the last token by adding an early exit for an empty string. Change strtok to tailcall strtok_r to avoid unnecessary code duplication. Remove the special header optimization for strtok_r of a 1-character constant string - both strspn and strcspn contain optimizations for this case. Benchmarking this showed similar performance in the worst case, but up to 5.5x better performance in the "found" case for large inputs. * benchtests/bench-strtok.c (oldstrtok): Add old implementation. * string/strtok.c (strtok): Change to tailcall __strtok_r. * string/strtok_r.c (__strtok_r): Optimize for performance. * string/string-inlines.c (__old_strtok_r_1c): New function. * string/bits/string2.h (__strtok_r): Move to string-inlines.c. | |||||
2016-01-04 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
2015-01-02 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
2014-01-01 | Update copyright notices with scripts/update-copyrights | Allan McRae | 1 | -1/+1 | |
2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | 1 | -3/+2 | |
2005-12-14 | Moved to csu/errno-loc.c. | Ulrich Drepper | 1 | -0/+79 | |
2004-12-22 | (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. | Ulrich Drepper | 1 | -79/+0 | |
2007-07-12 | 2.5-18.1 | Jakub Jelinek | 1 | -0/+79 | |