Blender Git Commit Log

Git Commits -> Revision 21dc281

Revision 21dc281 by Clément Foucault (master)
May 22, 2019, 11:29 (GMT)
BLI_memblock: Refactor for faster iteration and allocation

Remove the clear allocation flag as it has little impact since there should
be very few allocation per redraw.

Make BLI_memblock_alloc and BLI_memblock_iterstep much more cache efficient
removing them almost entirely from performance profiles.

Commit Details:

Full Hash: 21dc2816d6bb0a2a85e3a208830b629eb916ded0
Parent Commit: 657165d
Lines Changed: +69, -58

4 Modified Paths:

/source/blender/blenlib/BLI_memblock.h (+8, -5) (Diff)
/source/blender/blenlib/intern/BLI_memblock.c (+50, -42) (Diff)
/source/blender/draw/intern/draw_instance_data.c (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager.c (+8, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021