On Wed, Sep 7, 2016 at 9:20 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:
what I had in mind was that zic could implement the RFC 7808 "expand"
action <https://tools.ietf.org/html/rfc7808#section-5.4> which is not implemented in vzic.
Is the idea that a web server would wait for a request about some particular range of time zone data, and then fire up an instance of zic to generate just that data? That sounds slow.
I would see IANA reference implementation as an étalon against which developers can test their implementations, not as a component to be reused. In this role performance is not really a consideration.
Or were you thinking of making zic a long-running process, ...
I would rather see a libzic that would expose a parser, some kind of in-memory representation of zones and rules and a set of functions that will mirror RFC 7808 APIs.