Blender Git Loki

Git Commits -> Revision 456d3cc

Revision 456d3cc by Jacques Lucke (master)
March 7, 2021, 13:15 (GMT)
BLI: reduce wasted memory in linear allocator

The main change is that large allocations are done separately now.
Also, buffers that small allocations are packed into, have a maximum
size now. Using larger buffers does not really provider performance
benefits, but increases wasted memory.

Commit Details:

Full Hash: 456d3cc85e9f408341b12eb0d4f2c3a925855e8c
Parent Commit: 84da76a
Lines Changed: +49, -13

2 Modified Paths:

/source/blender/blenlib/BLI_linear_allocator.hh (+28, -13) (Diff)
/source/blender/blenlib/tests/BLI_linear_allocator_test.cc (+21, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021