OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

emergency message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [emergency] Circle and Polygon


The DOM parser may be the wrong implementation approach. 
A SAX-like parser (eg, XMLReader) is a way one handles 
large documents.  It is harder to implement but much 
faster.  The problem one wants to avoid is premature 
optimization of the wrong piece of the technology.

len


From: Kon Wilms [mailto:kon@datacast.biz]

That issue is not uncommon. Its standard practice for most DOM parsers
to load the entire XML file into memory before parsing. Get a few of
those going with threads and RAM decreases fast. I am sure that everyone
using fast desktop workstations with a gig of ram don't even notice it.
The little guys with 64MB of RAM on an embedded system do, however.

This would be about the time where I wave my 'split the resources into
separately referenced files' flag.

Ofcourse, this could also be purely a speed issue with some code that
needs optimization.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]