mrw;688852 Wrote: > Yes, I am. 7.7.1 on plug, I think I've still got 7.6.1 on the iMac. > > I'll be interested to see what changes you are thinking of. > > FWIW I looked quickly at XML::Simple. > > On my system it uses XML::Parser, in particular XML::Parser:Tree, > before entering into its own recursive 'collapse' sub. The 5 seconds > seems to break very roughly 40/60 between the two. > > I think that one could reasonably easily: > (a) have XML::Simple::XMLin invoke an adapted XML::Parser::Tree, such > that idleStream is called at appropriate intervals. > (b) override 'collapse' such that it, too, calls idleStream, if > appropriate, each time it is entered. > > That might all be packaged into a sub-class. Or, perhaps better still > (on my server anyway), be installed as a replacement XML::Simple ! > > Just thoughts. I've no practical experience of this type of thing. And > I don't know how one should set the timing intervals. (timer ? > HiRes::time ? EV::now ?)
Suggest you have a play with this. I think we can rewrite that bit to parse incrementally as the xml arrives, but will require chaning how the code is called from xmlbrowser. I'll look at this at somepoint soon. -- Triode ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=53229 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
