aboutsummaryrefslogtreecommitdiff
path: root/toys/other/uptime.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-05-04 19:32:52 -0500
committerRob Landley <rob@landley.net>2019-05-04 19:32:52 -0500
commit6a40e12124b2d441a1085a4e486d685ed12665d0 (patch)
tree97d517cc0e66f77e41679992ed2f5b74d89b33fe /toys/other/uptime.c
parent9f781cd5c3f7b071a3d9a62bf0a4aeb8c3cda8ec (diff)
downloadtoybox-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/other/uptime.c')
0 files changed, 0 insertions, 0 deletions