[Bf-committers] memory footprint tool

Tyler Tricker tntricker at gmail.com
Fri Jun 19 06:03:32 CEST 2009

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

More information about the Bf-committers mailing list