[Bf-python] Blender and lists

Campbell Barton cbarton at metavr.com
Wed Jul 25 23:31:18 CEST 2007


Stephen Swaney wrote:
> On Wed, Jul 25, 2007 at 08:41:46AM +1000, Campbell Barton wrote:
> ...
>> Keep in mind many people use "ob.data.name" and dont notice its 
>> converting 10000's of elements to NMesh each time.
> 
> This sounds like a job for Lazy Initialization!
NMesh isnt in the py-dev api, just making a point for people that may be 
worried about lists of 1-32, items being a bit slower.
but in future similar problems could be delt with this way definetly.



More information about the Bf-python mailing list