Fix XPathParts()

Description

We have a cache for XPathParts which is faster than using the constructor.

I proposed refactoring to change

x = new XPathParts();

to

x = XPathParts.getFrozenInstance(path).cloneAsThawed();

Now, it is even faster to remove the .cloneAsThawed(), but we can only do that if x is not going to be changed, which requires code inspection.

xpath

None

locale

None

Priority

medium

Assignee

Thomas Bishop

Reporter

Mark Davis

Reviewer

John Emmons

Labels

Components

Fix versions

phase

dsub
Configure