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

CLDR Ticket #10184(accepted tools)

Opened 19 months ago

Last modified 6 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 19 months ago by mark

  • Description modified (diff)

comment:2 Changed 18 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

comment:3 Changed 6 months ago by emmons

  • Milestone changed from upcoming to UNSCH

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.