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

CLDR Ticket #7127(accepted enhancement)

Opened 4 years ago

Last modified 3 years ago

CoverageCache improvements?

Reported by: mark Owned by: anybody
Component: perf Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description

It looks to me like the performance of the Coverage cache could be improved if it were structured a bit differently.

Right now it looks up two keys, the path and the locale.

I think it'd be faster to look up a LocaleCoverage object from the locale, which can then be kept around by the caller. That would itself cache <path,level>s.

Also, certain paths have levels that are completely independent of locale. We can have a tool to run whenever we change the data file that generates those paths, and caches them all in a file. At runtime we'd build a static LocaleIndependentCoverage. (The LocaleIndependentCoverage would want to intern the paths, just like we do elsewhere.)

The LocaleCache can then ask LocaleIndependentCoverage first, saving space and time.

Attachments

Change History

comment:1 Changed 4 years ago by emmons

  • Owner changed from anybody to ribnitz
  • Priority changed from assess to medium
  • Type changed from unknown to enhancement
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 26rc

comment:2 Changed 3 years ago by mark

  • Owner changed from ribnitz to googler

comment:3 Changed 3 years ago by mark

  • Owner changed from googler to anybody
  • Milestone changed from 26rc to 27dsub

comment:4 Changed 3 years ago by markus

  • Phase set to dsub
  • Milestone changed from 27dsub to 27

comment:5 Changed 3 years ago by emmons

  • Milestone changed from 27 to UNSCH

Moving all 27+anybody tickets to UNSCH.

comment:6 Changed 3 years ago by srl

  • Status changed from assigned to accepted
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.