Blender Git Commit Log

Git Commits -> Revision 913d8ec

Revision 913d8ec by Campbell Barton (master)
July 29, 2017, 13:59 (GMT)
BLI_memiter: Small API for many small allocations

- Each allocation can be a different size
(but should be smaller than the chunk size).
- Result can be looped over in order of allocation.
- Allocations are aligned to pointer size to avoid unaligned reads.

Commit Details:

Full Hash: 913d8ec6082c4b42cd7957912078645af10ad024
Parent Commit: 277dc47
Lines Changed: +635, -0

3 Added Paths:

/source/blender/blenlib/BLI_memiter.h (+72, -0) (View)
/source/blender/blenlib/intern/BLI_memiter.c (+354, -0) (View)
/tests/gtests/blenlib/BLI_memiter_test.cc (+206, -0) (View)

2 Modified Paths:

/source/blender/blenlib/CMakeLists.txt (+2, -0) (Diff)
/tests/gtests/blenlib/CMakeLists.txt (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021