Proposed 64-bit changes

Paul Eggert eggert at CS.UCLA.EDU
Fri Apr 22 21:21:36 UTC 2005


Arthur David Olson <olsona at lecserver.nci.nih.gov> writes:

> + For version-2-format time zone files,
> + the above header and data is followed by a second header and data,
> + identical in format except that
> + eight bytes are used for each transition time or leap second time.

This would indicate that version-2-format zone files should be at most
3 times the size of old-format files, as there's a separate copy and
the second copy should be at most twice the size of the first.

But that's not what I observe.  For example, for America/Los_Angeles
the old file is 1017 bytes, whereas the new file is 9107 bytes.  Why
did it grow by a factor of 9?

Also, while we're on the subject, how about if we modify the format so
that the second copy contains only the information that's not in the
first copy?  This should help prevent bloat.



More information about the tz mailing list