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

CLDR Ticket #10184(accepted tools)

Opened 12 months ago

Last modified 11 months ago

Cache logical groups

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

Description (last modified by mark) (diff)

We recompute all the elements of a logical group all the time. We can instead cache the sets.

The simplest is to have a pathMap, which takes path => set of paths

For paths with count=, if we want exactly the ones for the current locale, then the key has to be the set of plural categories used by the locale. So those we'd have some extra maps.

locale => set-of-counts
set-of-counts => pathMap

We could even precompute the cache, since we know beforehand what they all are.


Change History

comment:1 Changed 12 months ago by mark

  • Description modified (diff)

comment:2 Changed 11 months ago by emmons

  • Status changed from new to accepted
  • Component changed from unknown to util
  • Priority changed from assess to minor
  • Phase changed from dsub to rc
  • Milestone changed from UNSCH to upcoming
  • Owner changed from anybody to emmons
  • Type changed from unknown to tools

Add a comment

Modify Ticket

as accepted

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

Note: See TracTickets for help on using tickets.