[tz] A Partly-Baked Idea

Ken Murchison murch at fastmail.com
Fri Mar 8 15:57:54 UTC 2024


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 at fastmailteam.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20240308/4f245f82/attachment.htm>


More information about the tz mailing list