On Monday, 11/26/2001 at 04:10 CET, "Geert Poels" <[EMAIL PROTECTED]> wrote: > I don't know if the Vector in org.apache.xml.utils.SuballocatedIntVector > means a Vector is used indeed.
Nope. It's our own implementation of the Vector metaphor, used specifically because putting ints into a standard Vector would be so massively inefficient. > 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. 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...) > 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.
