[Bf-committers] memory footprint tool
joeedh at gmail.com
Sat Jun 20 01:22:51 CEST 2009
DNA is smart enough to recognize changes in the orders of struct members,
and handle them.
On Thu, Jun 18, 2009 at 10:03 PM, Tyler Tricker <tntricker at gmail.com> wrote:
> Isn't that the point of the GCC -fpack-struct flag?
> It's important to note that changing a structure's member order breaks all
> pointers made against the previous version. so in the case of using
> reordering against DNA or RNA (which would be the best bet of a performance
> increase since they are used the most) it would break the binary loading of
> older file versions since they are expecting the new order and not the old.
> You could of course write a loader for the older versions but I don't know
> if it would even be worth the development hours to save a few kb.
> On Thu, Jun 18, 2009 at 8:19 PM, Tom M <letterrip at gmail.com> wrote:
> > This article talks about 'poke-a-hole' which tells you what your files
> > actually end up aligned as, might be worth looking at blender with it.
> > http://lwn.net/Articles/335942/
> > LetterRip
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers