summaryrefslogtreecommitdiff
path: root/docbook/make-wsluarm.pl
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames@darkjames.pl>2014-07-23 08:03:03 +0200
committerAnders Broman <a.broman58@gmail.com>2014-07-24 05:42:28 +0000
commitc025152c5c62eced6e66b623cf38eb4803244073 (patch)
tree68b10857ed4d8f12122184914e11786dbe8c685d /docbook/make-wsluarm.pl
parent2944d8b97ce4e046acea39589623c91b0e9bcf4e (diff)
downloadwireshark-c025152c5c62eced6e66b623cf38eb4803244073.tar.gz
Micro-optimize tvbuff:
- compute_offset_and_remaining(...) is a little bit faster than check_offset_length(.., .length_val = -1); - tvb_find_guint8(), tvb_pbrk_guint8() - both function are limiting data to MIN((unsigned) maxlength, tvb_len) - do the same with less count of ifs. Change-Id: I7761d77b6282d800eea94852d5c6543aef4bc7ca Reviewed-on: https://code.wireshark.org/review/2829 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'docbook/make-wsluarm.pl')
0 files changed, 0 insertions, 0 deletions