aboutsummaryrefslogtreecommitdiff
path: root/toys/example
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 /toys/example
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 'toys/example')
0 files changed, 0 insertions, 0 deletions