found moving verts in pythons 2.5 api is approx 10x slower because the multi-dimensio...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 24 Feb 2011 08:47:58 +0000 (08:47 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 24 Feb 2011 08:47:58 +0000 (08:47 +0000)
commitcd615f6fcc143cfd630a8d784ea8d59256cfe84e
treeb85a2d12cc689022f16173ba2bbdcb62a6f2b578
parent31c7d694e07f610b7a1e6aa44da43a2587511e80
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.
source/blender/python/intern/bpy_rna.c
source/blender/python/intern/bpy_rna_array.c