diff options
author | Denys Vlasenko | 2021-07-01 17:50:26 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-07-01 17:50:26 +0200 |
commit | 8b4c429025c233640bd5c5838552f34683a06fc0 (patch) | |
tree | 385135c4fd35dbfd8f4e682c3819c0d46dc4770b /libbb/single_argv.c | |
parent | 1573487e2100892d06e3628828690692313a48d5 (diff) | |
download | busybox-8b4c429025c233640bd5c5838552f34683a06fc0.zip busybox-8b4c429025c233640bd5c5838552f34683a06fc0.tar.gz |
awk: use static tmpvars instead of nvalloc(1)ed ones
ptest() was using this idea already.
As far as I can see, this is safe. Ttestsuite passes.
One downside is that a temporary from e.g. printf invocation
won't be freed until the next printf call.
function old new delta
awk_printf 481 468 -13
as_regex 137 111 -26
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-39) Total: -39 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/single_argv.c')
0 files changed, 0 insertions, 0 deletions