util: add a memory pool for equally sized memory allocations
authorMarek Olšák <maraeo@gmail.com>
Mon, 19 Jul 2010 09:04:30 +0000 (11:04 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 19 Jul 2010 15:12:11 +0000 (17:12 +0200)
commitad44b775e30b2740d25bb8330c9e8879f1ec5533
tree88db59ba1990ab4d5c9b94696f7f91ddb4ec444f
parent4fd39a8d69cade6db5c4a0295a5f5f3014110b1c
util: add a memory pool for equally sized memory allocations

malloc/free are in O(1).
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/auxiliary/util/u_mempool.c [new file with mode: 0644]
src/gallium/auxiliary/util/u_mempool.h [new file with mode: 0644]