[AD] _aligned_malloc()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


A quick search thru the allegro src code, i find lots of malloc() calls.

I have mentioned this before, i'd like to replace them with _aligned_malloc() as this yields greater performance on the newer (heavily alignment dependant) CPUs.

As i dont think anyones going to agree to a simple find-n-replace; how about replacing them with a macro or a function call, that could have build specific code to allow me to use _aligned_malloc() and default back to normal malloc() for non-specific builds.

aj.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/