Blender Git Loki

Git Commits -> Revision cd615f6

Revision cd615f6 by Campbell Barton (master)
February 24, 2011, 08:47 (GMT)
found moving verts in pythons 2.5 api is approx 10x slower because the multi-dimensional array assignment reads the array 3 times (typecheck, length-check & for-real).

the length check was running sequence checks on every number which would fail, small speedup by avoiding this.

should eventually get this working faster by reading once into an allocated array.

Commit Details:

Full Hash: cd615f6fcc143cfd630a8d784ea8d59256cfe84e
SVN Revision: 35121
Parent Commit: 31c7d69
Lines Changed: +7, -14

2 Modified Paths:

/source/blender/python/intern/bpy_rna.c (+0, -8) (Diff)
/source/blender/python/intern/bpy_rna_array.c (+7, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021