[tz] A Partly-Baked Idea

Bill Seymour stdbill.h at pobox.com
Fri Mar 8 15:52:28 UTC 2024


Could there be a "Version 4" of the compiled TZif files in which the ints
and time_ts have the correct endianness for the platform on which they're
installed?

I imagine a zic command-line argument that selects:

- always big-endian (the default for compatibility),
- always little-endian, or
- the correct endianness for the platform on which zic is running.

This wouldn't let users rip out all their endianness code since not all
TZif files would be version 4; but it might reduce running time in programs
that read lots of TZif files.

Does this make sense, or is it just premature optimization?

--Bill Seymour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20240308/2fb3a876/attachment.htm>


More information about the tz mailing list