On Feb 22, 2007, at 5:47 PM, Tatu Saloranta wrote:
> --- Santiago Pericas-Geertsen
> <Santiago.Pericasgeertsen_at_Sun.COM> wrote:
>
>> Jimmy,
>>
>> JDK 6 includes a number of different
>> optimizations, at the VM layer
>> and the JAXP layer. However, I don't recall any big
>> changes to
>> optimize XPath. So this may be the case of several
>> optimizations
>> working together or perhaps some changes in your
>> benchmark?
>
> There was this one bug (I wish I had BugID handy) that
> basically made some sub-tree xpath queries hideously
> slow, as in proportional to the size of the whole
> tree, instead of just subtree affected: for which one
> work around was to detach the child node (root of the
> sub-tree), do xpath, then reattch the node.
> I think had to do with buiding of XPathContext or
> something.
> Does this ring a bell? I can look it up if necessary.
It doesn't ring a bell. But perhaps somebody else worked on it. Was
it filed at Apache?
-- Santiago