wireshark/epan/wmem
Evan Huus 35098d20a2 Fix memory-alignment in the block allocator.
The previous macro gave the correct alignment, but there was one case where it
would add a whole block of unnecessary ALIGN_SIZE bytes. The new one is also
slightly faster to compute.

Benchmark win of about 3%.

Change-Id: I5d8bad0f78dc0e383e14c2c7a951328a06400020
Reviewed-on: https://code.wireshark.org/review/492
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-03-04 17:09:40 +00:00
..
Makefile.am Add empty placeholder wmem test suite. Hopefully my automake skills were 2013-03-20 00:28:36 +00:00
Makefile.common Add wmem queue 'implementation' by wrapping wmem_list and wmem_stack. 2013-07-21 21:13:30 +00:00
Makefile.nmake Added more build artefacts to the clean target 2013-07-28 14:40:56 +00:00
wmem.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_allocator.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_allocator_block.c Fix memory-alignment in the block allocator. 2014-03-04 17:09:40 +00:00
wmem_allocator_block.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_allocator_simple.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_allocator_simple.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_allocator_strict.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_allocator_strict.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_array.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_array.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_core.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_core.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_list.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_list.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_miscutl.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_miscutl.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_queue.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_scopes.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_scopes.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_stack.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_stack.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_strbuf.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_strbuf.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_strutl.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_strutl.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_test.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_tree.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_tree.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_user_cb.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_user_cb.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem_user_cb_int.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00