diff options
author | Evan Huus <eapache@gmail.com> | 2013-07-28 00:00:37 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-07-28 00:00:37 +0000 |
commit | b9870c0969491ab5e0989864bfb1760995aed627 (patch) | |
tree | 2655b62e060622c6c162f496dc76691b78555100 /epan/proto.c | |
parent | e7dfea82f3edccb2fb8c416c0bed262da88102f5 (diff) | |
download | wireshark-b9870c0969491ab5e0989864bfb1760995aed627.tar.gz |
Little optimizations.
Move a few assignments around to avoid one extra subtraction. I suspect having
the two if statements next to each other is friendly to the compiler's optimizer
as well.
Shaves ~1.3% off my timing tests, bringing the new design *very* close to the
old one in raw allocation speed.
svn path=/trunk/; revision=50961
Diffstat (limited to 'epan/proto.c')
0 files changed, 0 insertions, 0 deletions