Denys Vlasenko
24fb2cd62f
bc: shrink error handling code by enabling tail-call optimization
function old new delta
bc_posix_error_fmt - 60 +60
bc_error_fmt - 38 +38
bc_error_bad_character - 17 +17
bc_parse_auto 302 313 +11
bc_num_ulong 93 103 +10
bc_error_variable_is_wrong_type - 10 +10
bc_error_stack_has_too_few_elements - 10 +10
bc_error_nested_read_call - 10 +10
bc_error_bad_token - 10 +10
bc_error_bad_expression - 10 +10
bc_num_d 561 564 +3
bc_program_assign 484 486 +2
dc_parse_parse 60 59 -1
bc_program_num 1130 1129 -1
bc_program_call 367 366 -1
bc_parse_stmt 2277 2276 -1
bc_lex_number 299 298 -1
bc_lex_name 91 90 -1
bc_func_insert 98 97 -1
bc_num_shift 74 72 -2
bc_vm_run 1924 1921 -3
bc_parse_endBody 424 420 -4
bc_lex_next 81 77 -4
bc_program_read 343 338 -5
bc_program_asciify 469 464 -5
bc_program_pushVar 221 215 -6
bc_program_print 784 778 -6
bc_program_prep 99 93 -6
bc_program_assignStr 167 161 -6
bc_parse_else 143 137 -6
bc_parse_body 124 118 -6
dc_parse_register 61 53 -8
dc_lex_token 699 691 -8
bc_program_modexp 756 746 -10
bc_parse_name 593 581 -12
dc_parse_expr 775 762 -13
bc_program_copyToVar 336 323 -13
bc_program_binOpPrep 324 311 -13
bc_program_execStr 561 543 -18
bc_program_exec 4150 4132 -18
bc_parse_parse 483 464 -19
bc_error 38 14 -24
bc_lex_token 1266 1237 -29
bc_posix_error 60 14 -46
bc_parse_expr 2194 2146 -48
------------------------------------------------------------------------------
(add/remove: 8/0 grow/shrink: 4/33 up/down: 191/-345) Total: -154 bytes
text data bss dec hex filename
987226 485 7296 995007 f2ebf busybox_old
987072 485 7296 994853 f2e25 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-12-05 16:03:46 +01:00
..
2017-08-08 21:55:02 +02:00
2018-11-02 14:14:51 +01:00
2018-12-05 16:03:46 +01:00
2017-09-18 16:28:43 +02:00
2017-09-05 19:16:40 +02:00
2018-06-06 15:16:48 +02:00
2017-08-08 17:09:40 +02:00
2017-08-08 21:55:02 +02:00
2017-08-08 21:55:02 +02:00
2018-12-05 15:40:38 +01:00
2017-10-05 14:40:24 +02:00
2018-03-29 18:42:11 +02:00
2018-02-01 10:56:19 +01:00
2017-10-05 15:33:28 +02:00
2017-08-08 21:55:02 +02:00
2018-07-23 14:26:55 +02:00
2018-04-07 15:23:10 +02:00
2018-04-16 10:24:48 +02:00
2017-10-22 10:43:43 +02:00
2017-08-08 21:55:02 +02:00
2017-08-08 21:55:02 +02:00
2017-09-15 17:14:01 +02:00
2018-01-14 13:43:31 +01:00
2017-08-05 01:46:39 +02:00
2017-09-18 16:28:43 +02:00
2017-09-18 16:28:43 +02:00
2017-08-04 17:59:46 +02:00
2018-01-14 12:03:33 +01:00
2017-09-18 16:28:43 +02:00
2018-04-08 17:23:27 +02:00
2017-10-05 15:33:28 +02:00
2017-08-07 16:00:25 +02:00
2017-08-08 21:55:02 +02:00