Jacob Kjome wrote:
Is XOM slow? Is anyone out there complaining about it being so? Not trying to start an argument, just curious.
"Slow" is a relative term. At least one person is expending a lot of effort on a fork that, wouldn't you know it, turns off some of the checks. :-) He's also gone so far as to invent his own binary serialization for the XML Infoset, so it's not just XOM's speed he's worried about.
But still, XOM is pretty damn fast for most uses. In almost all realistic use cases, the bottleneck is the speed of the underlying SAX parser and/or the network. In profiling runs. very little time is spent inside XOM itself, Furthermore, unlike DOM, XOM can operate quite effectively in streaming mode so that you don't have to wait for the entire document to be built before using its content. For many operations, especially on large documents, this increases perceived performance markedly. You can begin generating output as soon as the input has begun.
-- Elliotte Rusty Harold [EMAIL PROTECTED] XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]