Blender Git Commit Log

Git Commits -> Revision a4b2783

Revision a4b2783 by Campbell Barton (master)
October 22, 2012, 03:25 (GMT)
small optimization for BLI_heap(), give some speedup in decimeter.
- use unsigned ints only (where mixing signed/unsigned)
- turn heap_swap into an inline function, add SWAP_TVAL macro to swap values using a temp value as storage.
- added type checking SHIFT3/4 macros

also style cleanup for CTR_Map

Commit Details:

Full Hash: a4b27831693eed988bcdf957bbe9ad7609e7bdf7
SVN Revision: 51488
Parent Commit: 226a5ee
Lines Changed: +179, -125

6 Modified Paths:

/intern/container/CTR_HashedPtr.h (+12, -5) (Diff)
/intern/container/CTR_Map.h (+39, -37) (Diff)
/source/blender/blenlib/BLI_heap.h (+1, -1) (Diff)
/source/blender/blenlib/BLI_utildefines.h (+56, -31) (Diff)
/source/blender/blenlib/intern/BLI_heap.c (+69, -51) (Diff)
/source/blender/modifiers/intern/MOD_decimate.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021