On Wednesday, 11/20/2002 at 02:46 ZE2, Pavel Ausianik <[EMAIL PROTECTED]> wrote: > Could somebody explain when the defer node expansion should be used in > xerces 2?
1) When you don't intend to examine the entire document, this choice can save memory and parsing time. 2) When latency (time before you can access the first node) is more important than throughput (time before you can access the last node), this choice can make your program more responsive. Hence, deferred node expansion tends to be particularly helpful when processing only part of a large document. But it may cost performance when processing all of a small document. That's why it's optional. (Note the similarity to Xalan's "incremental DTM" mode.) ______________________________________ Joe Kesselman / IBM Research --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
