Xpath looks pretty sweet, anyone used it for simillar data sizes?
XPath won't help with the initial load and parse. What you're going to
get is a long pause with your processor usage at 100% while the XML object
parses the string. The more records/larger the file, the longer the pause.
XPath also adds some overhead, which may be minimal, but with the amount of
data you're talking about, it could quickly become significant.
Besides, I'm not fooling with any 3rd party workarounds, not with E4X on
the way. From the Adobemedia flex2 FAQ:
http://www.macromedia.com/software/flex/productinfo/faq/flex2_faq.html
---------------------------------------------
What new features will Flash Player 8.5 introduce for application
developers?
Flash Player 8.5 delivers a number of features that contribute to developer
productivity, including a new, more powerful version of the ActionScript
programming language, improved runtime errors that help in debugging, and
***native support for ECMAScript for XML (E4X) and regular expressions***.
Flash Player 8.5 also delivers significant improvements in performance and a
reduced memory footprint, enabling more responsive user interfaces.
---------------------------------------------
Here's an IBM article on E4X:
http://www-128.ibm.com/developerworks/library/ws-ajax1/
RegEx + E4X means insanely fast custom parsing and conversion, plus
insanely fast searches and filters for XML. The need for XPath is about to
be a thing of the past (whenever they get around to releasing 8.5, that is).
ryanm
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders