Re: [xmljs-users] parsing 1200 nodes
Brought to you by:
djoham,
witchhunter
From: David J. <dj...@ya...> - 2004-02-27 16:54:12
|
Hi Chandan, 1200 nodes is pretty much the upper limit XML for <SCRIPT> can handle. At that point the JavaScript interperator starts getting bogged down with all the objects it needs to create. A lot of it depends on the speed of the computer as well (naturally). If XML for <SCRIPT> is too slow, you might try sarissa at http://sarissa.sourceforge.net/. I've never tried it myself, but it uses the native DOM implementation of IE and Mozilla so the speed should be much faster. The price you'll pay is that you'll probably lose Safari, Konq and Opera support. You also need to be aware that Sarissa is GPL (rather than LGPL) so if you want to use it you need to be prepared to accept the more viral terms of its license. One option would be to use Sarissa for IE and Mozilla and XML for <SCRIPT> for the other browsers. The other browers would be slower, but at least functional after the initial load. If you do try it and it works, please let me know and I'll add it to the FAQ. Best regards, David --- Chandan Kumar <cha...@bl...> wrote: > Hi David, > I am using your wc3dom xml parser for parsing a xml string of around 1200 > nodes....problem is it takes over 30 secs to load in internet explorer. > > Is there any upper limit on the number of nodes it can parse fast enough? Do > you know any parser which can handle this amount of data fast enought. > > Your help in this regard will be greatly appreciated. > > Thanks, > Chandan > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > xmljs-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmljs-users __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools |