[Papervision3D] Dictionary vs Array

Chris Nuuja cnuuja at adobe.com
Thu Jan 18 14:03:00 EST 2007


 

Do you mean Dictionary access by string key vs  Array access by string
key?   Or Dictionary access by string key vs Array access by integer
index?   For the former, its probably a tie.  For the later, Array
should be faster.   The quickest property access is probably a named
property of a "final" class, but then you have to know the name of the
property :-).  What are you trying to optimize?

 

-chris

________________________________

From: Papervision3D-bounces at osflash.org
[mailto:Papervision3D-bounces at osflash.org] On Behalf Of Carlos Ulloa
Sent: Thursday, January 18, 2007 9:47 AM
To: Papervision3D at osflash.org
Subject: [Papervision3D] Dictionary vs Array

 

Does anyone know if Dictionary is faster/slower than Array for element
access indexing with String?

C4RL05
// noventaynueve.com
// papervision3d.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070118/55ac9052/attachment.htm


More information about the Papervision3D mailing list