aboutsummaryrefslogtreecommitdiff
path: root/lib/commas.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-10-09 21:36:39 -0500
committerRob Landley <rob@landley.net>2019-10-09 21:36:39 -0500
commit068b12adfb4577b8e732f56e979017cd690baec5 (patch)
treee66af09ccf7dd44b14e84e51e582b8b40f59d248 /lib/commas.c
parent48d750ca5be4db45a3f04956a9d8ca87ddc45db2 (diff)
downloadtoybox-068b12adfb4577b8e732f56e979017cd690baec5.tar.gz
Don't strlen() potentially long target string each call to strstart().
The downside is we don't use assembly optimized libc comparison functions, but the common case is short/no matches until full match. Probably net win.
Diffstat (limited to 'lib/commas.c')
0 files changed, 0 insertions, 0 deletions