Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: extract inner xml... [Thread Next] Re: extract inner xml...To: NULL Date: 3/17/2009 5:16:00 PM In article <gpojuj$77l$1@s...>, Loocek <Loocek@m...> wrote: >A "raw" input stream of data is read by parser. It creates objects in >memory, next base on the object - we create a new "raw" stream that is >exactly substring of original string. It waste memory and cpu.... Well, sometimes. Sometimes the DOM is modified after it's read in. Even if it isn't, perhaps it needs namespace declarations that were not present in that fragment originally. Hanging fragments of the original text on to the relevant parts of the DOM just in case it gets used is a waste of memory and cpu 99.9% of the time. Making your case slow and the usual case fast is probably better overall. -- Richard -- Please remember to mention me / in tapes you leave behind. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
