[Papervision3D] Dictionary vs Array

Chris Nuuja cnuuja at adobe.com
Thu Jan 18 14:59:50 EST 2007


Hey Francois!    good to see you too.

 

________________________________

From: Papervision3D-bounces at osflash.org
[mailto:Papervision3D-bounces at osflash.org] On Behalf Of Francois
Balmelle
Sent: Thursday, January 18, 2007 11:15 AM
To: Papervision3D at osflash.org
Subject: Re: [Papervision3D] Dictionary vs Array

 

Hi Chris,
Nice to see you here :)
F


On 1/18/07 2:03 PM, "Chris Nuuja" <cnuuja at adobe.com> wrote:


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]
<mailto:Papervision3D-bounces at osflash.org%5d>  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 <http://noventaynueve.com>
<http://noventaynueve.com>  
// papervision3d.org <http://papervision3d.org>
<http://papervision3d.org>  

________________________________

_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

 

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


More information about the Papervision3D mailing list