Hi Bill,

I don’t have any strong feelings either way on your idea, but it would have to be a version 5 because v4 is already baked:

https://datatracker.ietf.org/doc/draft-murchison-rfc8536bis/


On Fri, Mar 8, 2024, at 10:52 AM, Bill Seymour via tz wrote:
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


-- 
Kenneth Murchison
Senior Software Developer
Fastmail US LLC
murch@fastmailteam.com