Blender Git Loki
Git Commits -> Revision 45caba3
Revision 45caba3 by Clément Foucault (master) May 8, 2019, 15:49 (GMT) |
BLI_memblock: New memory allocator This is really close to BLI_mempool but uses an array to keep track of the chunks of memory. There is no tagging necessary to clear the whole structure so reuse is fast. Naturally supports iteration but does not support freeing. |
Commit Details:
Full Hash: 45caba37330e623ed1dd8a24aa6698e937325c2b
Parent Commit: f273141
Lines Changed: +191, -0
2 Added Paths:
/source/blender/blenlib/BLI_memblock.h (+55, -0) (View)
/source/blender/blenlib/intern/BLI_memblock.c (+134, -0) (View)
/source/blender/blenlib/intern/BLI_memblock.c (+134, -0) (View)
1 Modified Path:
/source/blender/blenlib/CMakeLists.txt (+2, -0) (Diff)