> > Maybe some other collection might be faster. (ArrayList is said to be > faster) > Wouldn't help in this case, since it's still oriented toward objects and > we're storing ints. ok
> We're still locked into Java 1.1.x compatability. That means we can't use > Java 1.2 collections classes. (Well, that isn't _entirely_ true. There's an > add-on Jarfile which can be used to provide 1.2 collections in a Java 1.1 > environment. I think we were reluctant to make that a prerequisite in the > environment, but...) I already hate the idea but using Ant and conditional compilation you might be able to have two releases ? :*) > > 12.3% org.apache.xpath.DOM2Helper.getParentOfNode() > I think this means you're testing obsolete code. I don't believe DOM2Helper > is still used in current versions of Xalan. Try downloading 2.1.D13 and > repeat your tests; the results are likely to be VERY different. the DOM2Helper is still called but with nearly inexistent percentages :-)) (by org.apache.xml.utils.TreeWalker) The percentages are more or less the same at first view. Benchmarks say nothing more than the tests that started them. :-)
