diff options
author | Rob Landley <rob@landley.net> | 2019-05-04 19:32:52 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-05-04 19:32:52 -0500 |
commit | 6a40e12124b2d441a1085a4e486d685ed12665d0 (patch) | |
tree | 97d517cc0e66f77e41679992ed2f5b74d89b33fe /toys/lsb/seq.c | |
parent | 9f781cd5c3f7b071a3d9a62bf0a4aeb8c3cda8ec (diff) | |
download | toybox-6a40e12124b2d441a1085a4e486d685ed12665d0.tar.gz |
Optimize regexec0() for long lines.
Don't strlen() to find NUL to skip to until after we've confirmed first
section hasn't got a match (by calling regexec() on it).
Diffstat (limited to 'toys/lsb/seq.c')
0 files changed, 0 insertions, 0 deletions