diff options
author | Martin Lewis <martin.lewis.x84@gmail.com> | 2020-07-09 14:47:05 -0500 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-07-12 21:19:13 +0200 |
commit | 4468c569f7112f4f6892dad52fd784ef4c22c44e (patch) | |
tree | e832cfb91183683046b750852f53af7112de59cb /scripts/kconfig/expr.h | |
parent | 051665ef69568cf16a445a86a43d5ae74d303add (diff) | |
download | busybox-4468c569f7112f4f6892dad52fd784ef4c22c44e.tar.gz |
domain_codec: optimize dname_dec and convert_dname
dname_dec: now iterates over the packet only once.
convert_dname: remove redundant checks and code shrink.
While testing I've noticed that some of the tests didn't compile
properly, so I fixed them.
function old new delta
dname_dec 286 267 -19
dname_enc 166 143 -23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-42) Total: -42 bytes
Signed-off-by: Martin Lewis <martin.lewis.x84@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/kconfig/expr.h')
0 files changed, 0 insertions, 0 deletions