diff options
author | Rob Landley <rob@landley.net> | 2019-10-09 21:36:39 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-10-09 21:36:39 -0500 |
commit | 068b12adfb4577b8e732f56e979017cd690baec5 (patch) | |
tree | e66af09ccf7dd44b14e84e51e582b8b40f59d248 /toys/example | |
parent | 48d750ca5be4db45a3f04956a9d8ca87ddc45db2 (diff) | |
download | toybox-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