aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-05-04 18:22:51 -0500
committerRob Landley <rob@landley.net>2019-05-04 18:22:51 -0500
commit9f781cd5c3f7b071a3d9a62bf0a4aeb8c3cda8ec (patch)
tree2961c963afd068ec959ae60c449a1cce5808aead /main.c
parent121322285aa143a748fb7c725a5e2559a038eefd (diff)
downloadtoybox-9f781cd5c3f7b071a3d9a62bf0a4aeb8c3cda8ec.tar.gz
Optimize s//g to avoid fresh strdup/free of entire line for each match.
Instead have one target string and fill it out from start to finish writing to each location once.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions