[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #10183(accepted tools)

Opened 5 months ago

Last modified 4 months ago

Fix XPathParts()

Reported by: mark Owned by: mark
Component: util Data Locale:
Phase: rc Review:
Weeks: Data Xpath:
Xref:

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.

Attachments

Change History

comment:1 Changed 4 months ago by emmons

  • Status changed from new to accepted
  • Component changed from unknown to util
  • Priority changed from assess to medium
  • Phase changed from dsub to rc
  • Milestone changed from UNSCH to 32
  • Owner changed from anybody to mark
  • Type changed from unknown to tools
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.