Blender Git Commit Log

Git Commits -> Revision 7cb90a6

Revision 7cb90a6 by Campbell Barton (master)
April 4, 2014, 10:25 (GMT)
Optimization for mempool initial chunk allocation

Almost all pools allocated 2 chunks on initialization,
every element needed to be added to the free-list which
would never be used for small pools.

Now allocate only one, gives minor speedup for some bmesh operations.

Commit Details:

Full Hash: 7cb90a611faa506d7576f1f27f42be6936a45f5e
Parent Commit: 896725e
Lines Changed: +5, -1

1 Modified Path:

/source/blender/blenlib/intern/BLI_mempool.c (+5, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021