Implement cache hook and use for --small .cnv files

Description

ICU4C cache hook

Design and proposal for a "hook" (or "callback") that allows caching of some items. Most applications will ignore this new API, and ICU will behave as before if an application does not provide a cache implementation.

The initial use of this API by an ICU service is for "reconstituted" data for conversion table files that were generated with makeconv --small. (New feature, see ticket #5987.) Other possible uses include the converter data that is duplicated and slightly modifed for the "swaplfnl" option (for EBCDIC charsets only) and binary collation tables that were created from rule strings in .res files that had the binary tables omitted (genrb --noBinaryCollation).

(...)

Current location of the design doc: http://docs.google.com/Doc?id=ddsrrpj5_16zhj6j4

(Once completed, the design doc will move into svn.)

Activity

Show:
TracBot
June 30, 2018, 11:27 PM
Trac Comment 2 by —2009-04-16T23:19:17.000Z

Discuss priority.

Markus Scherer
August 12, 2020, 11:50 PM

This is an idea and design from 2007. Given that there has been no demand to actually do this, I am closing this ticket.

Obsolete

Assignee

Markus Scherer

Reporter

Markus Scherer

Components

Labels

Reviewer

None

Priority

minor

Time Needed

Weeks

Fix versions

None