[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Mesh.h Mesh.c

Alexander Ewering blender at instinctive.de
Fri Sep 22 21:02:51 CEST 2006


On Sat, 23 Sep 2006, Campbell Barton wrote:

> Im probably just being over paranoid from the days when blender would suck up 
> 2gig of ram with exporting 1 scene,
> that ended up being a memory leak with Mathutils Vectors.
>
> It just seems overkill to have an int for a value that can only ever be 
> -1,0,1 or 2.

The correct solution would be to use a single int to store all such values,
and using, for example, 2 bits per value.

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de


More information about the Bf-committers mailing list