You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Harbs <ha...@gmail.com> on 2016/12/04 22:41:39 UTC

[FlexJS]Big XML files

I just tried parsing a big XML file with about 5600 elements. I brought the JS engine to its knees trying to parse it.

Building the DOM was quick, but iterating all those elements just took forever… :-(

I’m not sure where the problem is.

Re: [FlexJS]Big XML files

Posted by Harbs <ha...@gmail.com>.
There’s likely some problem with the XML class which can be addressed, but I just added a JXON class which works very well for lightweight XML parsing.

It solved my current issue…

On Dec 5, 2016, at 12:41 AM, Harbs <ha...@gmail.com> wrote:

> I just tried parsing a big XML file with about 5600 elements. I brought the JS engine to its knees trying to parse it.
> 
> Building the DOM was quick, but iterating all those elements just took forever… :-(
> 
> I’m not sure where the problem is.