CLDR Ticket #10183(accepted tools)
|Reported by:||mark||Owned by:||mark|
We have a cache for XPathParts which is faster than using the constructor.
I proposed refactoring to change
x = new XPathParts();
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.