diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-09-23 17:33:09 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-09-24 17:54:52 +0000 |
commit | bf0ceafaf964667c42a9471a104bd62f0f7069f2 (patch) | |
tree | 7d4327d24e76964c53e18b53585597c4ff3f86c1 /packaging | |
parent | b63fe7d6e2ada405c845346a8c94ae2d6a820d14 (diff) |
checkhf.pl: speed up find_remove_ei_defs and remove_if0_code
Remove leading spaces early such that the regex in find_remove_ei_defs
can avoid (falsely) matching every line (saves 97% for packet-rrc.c).
Copy the improved remove_if0_code from checkAPIs.pl (saves 600ms).
packet-ieee80211.c used to spend 240ms and now completes in 165ms.
packet-rrc.c used to spend 53.7s and now completes in 0.85s.
Change-Id: I6469f7c11839fab2f33c49d3c839473f1d4902d2
Reviewed-on: https://code.wireshark.org/review/29795
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions