[tz] Looking for a way to cut down binary zoneinfo size. Does anyone have the way to?
bww at acm.org
Thu May 18 17:02:13 UTC 2017
Suggestion: Forget about modifying the source data or zic, and just write a
simple zoneinfo->zoneinfo filter that removes any transitions you don't
On Thu, May 18, 2017 at 12:50 PM, Viktor Sergiienko <singalen at gmail.com>
> Thanks Paul!
> I don't have Android, I have a much smaller vanilla Linux. We do use
> zic in a toolchain.
> Update on my progress: immediately after sending the email, I got
> another idea: apparently, Rules need to stay in the source data, they
> shouldn't affect the output size, as long as no zoneline uses them.
> (hope it's correct)
> I've tried cutting zonelines only, but now I get several of:
> > can't determine time zone abbreviation to use just after until time
> It also appears to me that some zones will be completely empty, and
> thus should turn into Links (question is, to what?)
> The project goes on.
> On Thu, May 18, 2017 at 9:44 AM, Paul Eggert <eggert at cs.ucla.edu> wrote:
> > Android uses its own format, which is smaller; you might look into that.
> > memory serves, the default Android tzdata binary file doesn't worry about
> > dates after 2038, which can save space if you know your devices cannot
> > possibly be long-lived. There is an option to go past 2038, though, and
> > likely use that myself.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tz