Blender Git Commit Log

Git Commits -> Revision b392539

Revision b392539 by Campbell Barton (master)
September 24, 2011, 16:38 (GMT)
optimization for scanfill allocation function.
- replace "size= 4*( (size+3)/4 );" with "size = (size + 3 ) & ~3;"
- split new_mem_element into 2 functions, one to reset, another to allocate so allocating isnt checking to reset each time.

Commit Details:

Full Hash: b392539e40780e49a70bdafea37d8cd04acff1b9
SVN Revision: 40521
Parent Commit: 1f12740
Lines Changed: +41, -46

1 Modified Path:

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