Blender Git Loki
Git Commits -> Revision 0f2089a
Revision 0f2089a by Campbell Barton (master) January 7, 2011, 05:33 (GMT) |
py/rna api speedup for collection slicing in all cases, rather then having an exception for [:]. - avoid looping over the entire collection unless a negative index is used. - dont use the get index function for building the slice list, instead loop over the collection until the stop value. |
Commit Details:
Full Hash: 0f2089afa12832d48b9953d317ade4a12d3c5d93
SVN Revision: 34140
Parent Commit: 5d74d65
Lines Changed: +50, -48
1 Modified Path:
/source/blender/python/intern/bpy_rna.c (+50, -48) (Diff)