[Bf-committers] memory footprint tool

Joshua Leung aligorith at gmail.com
Fri Jun 19 06:13:15 CEST 2009


On Fri, Jun 19, 2009 at 4:03 PM, Tyler Tricker <tntricker at gmail.com> wrote:

> Isn't that the point of the GCC -fpack-struct flag?

Not everyone compiles with GCC. MSVC, Intel, and probably a few others out
there that we haven't though of...


>
> 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.


Should not be an issue. That's why we have the whole DNA system :)


>
> 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
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list