Blender Git Loki
Git Commits -> Revision 70b57d5
Revision 70b57d5 by Campbell Barton (master) December 7, 2011, 00:18 (GMT) |
optimization for BLI_array_growitems (better put - improve inefficient method), BLI_array_growone was being called in a loop, even if the size of the allocated array was big enough for all items. In this case now just adjust the count value since theres no need to loop, when the allocation is not big enough BLI_array_growone in a loop is still used though. |
Commit Details:
Full Hash: 70b57d56340102e9c6fe564de027593f148d5bec
SVN Revision: 42473
Parent Commit: cead1e1
Lines Changed: +25, -21
1 Modified Path:
/source/blender/blenlib/BLI_array.h (+25, -21) (Diff)