Wireshark-commits: [Wireshark-commits] rev 50961: /trunk/epan/wmem/ /trunk/epan/wmem/: wmem_allocat
Date: Sun, 28 Jul 2013 00:00:39 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50961

User: eapache
Date: 2013/07/27 05:00 PM

Log:
 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.

Directory: /trunk/epan/wmem/
  Changes    Path                      Action
  +5 -6      wmem_allocator_block.c    Modified