[Papervision3D] Optimizations
Paulius Uza
pauliusuza at gmail.com
Sat Jan 6 00:18:50 EST 2007
Hello everyone,
I dugg into PV3D sources looking for optimization points, and I found
that PV3D is not using the int() fastpath in Arrays.
for example this is slow:
while( vertex = vertices[--i] )
and this is around 30% faster:
while( vertex = vertices[int(--i)] )
Good reads from Adobe on the topic:
http://www.onflex.org/ACDS/AS3TuningInsideAVM2JIT.pdf
and
http://www.onflex.org/ted/2006/09/max-actionscript-3-performance-tuning.php
Paulius Uza
CTO, Avenue Interactive
More information about the Papervision3D
mailing list