It doesn't get any faster than a typed class as far as data access, but
there are some things to think about. To get the data into the typed class
you have to parse the XML at some point, so it will probably come down to
how often each property is accessed. If you're only going to hit each
property once or twice, probably not worth a typed class as far as speed
goes.

I always use typed classes for code readability, code hinting, maintenance,
etc, but some people don't like having to write a VO for each object they'll
get back from the server.

Alex Harui did a simple test of data access times using different methods a
while back:
http://blogs.adobe.com/aharui/2007/10/actionscript_readwrite_perform_1.html

On Thu, May 1, 2008 at 4:36 PM, Nate Pearson <[EMAIL PROTECTED]> wrote:

>   What's faster, E4X or array collections with typed classes?
>
> I can have my data nested three levels in XML or I can have it pretty
> flat in an array collection.
>
> I'll be using this data with graphs, but will also be do analysis of
> the selected area on the graph.
>
> Thanks,
>
> Nate
>
>  
>

Reply via email to