Wireshark-commits: [Wireshark-commits] master 3bb32ed: addr_resolv: add fast path for parsing addre
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3bb32ede26c5fe22ed19bec937b7713ea597f8d3
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
3bb32ed by Peter Wu (peter@xxxxxxxxxxxxx):
addr_resolv: add fast path for parsing addresses from manuf
The manuf file is large but has a consistent format (25.7k entries with
three octets, 9.8k entries with a mask). Add a fast path for this file
that is 20% faster (saves 20ms on an unoptimized Debug+ASAN build).
Change-Id: Ida509b0305caf4e26131dc5cf5fb04c49392ad4b
Reviewed-on: https://code.wireshark.org/review/30757
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from ada5b88 TFTP: De-duplicate tftp_info structure creation.
add 3bb32ed addr_resolv: add fast path for parsing addresses from manuf
Summary of changes:
epan/addr_resolv.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 100 insertions(+), 2 deletions(-)