Blender Git Commit Log

Git Commits -> Revision f4b9e83

Revision f4b9e83 by Campbell Barton (master)
January 23, 2012, 13:25 (GMT)
improve editmode triangulation by re-using the loop array when
possiblem, this has to guess when the size is too big so as to re-
well.

If this isnt done, then the number of faces is used to allocate the
initial array to at least avoid many small allocs.

added BLI_array_reserve() to reserve elements and avoid reallocing many
small arrays when the loop starts.

Commit Details:

Full Hash: f4b9e837414439ddc7055e112984687d97ef84da
SVN Revision: 43631
Parent Commit: 25a3d11
Lines Changed: +33, -3

2 Modified Paths:

/source/blender/blenkernel/intern/editderivedmesh.c (+29, -3) (Diff)
/source/blender/blenlib/BLI_array.h (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021