bc: simple speedups
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2018 19:30:47 +0000 (20:30 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2018 19:30:47 +0000 (20:30 +0100)
commitab9a98602f9a0c37f9382a57e421fe4e058d4a67
tree21fcaef7ec4246480bd6712bf66507ec96e089ae
parentf706a18f33a5e6360cd7567c6c5fc9714be3ed39
bc: simple speedups

function                                             old     new   delta
bc_parse_pushName                                     20      56     +36
bc_program_index                                      47      71     +24
bc_parse_pushIndex                                    52      58      +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 66/0)               Total: 66 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c