<div dir="ltr">Thanks for the info.<br><div><br></div><div>I'm just having a difficult time understanding why both tzcode and tzdata use gzip, while tzdb uses lzip.</div><div><br></div><div>Why not use gzip for all? Or even better Zstandard for all?</div><div><br></div><div>Come to think of it, I think it would be better to switch to Zstandard as it's much more popular than lzip.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 5, 2022 at 6:21 PM Paul Eggert <<a href="mailto:eggert@cs.ucla.edu">eggert@cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> they indicated they still wanted gzip to be considered specifically to increase “availability for low end systems as lzip isn’t that widely supported”:<br>
<br>
Unfortunately I'm not quite seeing the use case here. If it's a low-end <br>
system that supports only gzip-style compression, presumably it is an <br>
end-use system that merely needs access to the data and it should get <br>
tzdataXXXXX.tar.gz. In contrast, the tzdb tarball contains code intended <br>
for use by developers, who are expected to have access to software tools <br>
like cc and lzip that a low-end system might not have, and developers <br>
can easily gain access to these tools if they don't have them already.<br>
<br>
If we were to start from scratch now, Zstandard (Internet RFC 8878) <br>
would be a good choice for distributing the data as it outperforms gzip <br>
on both speed and compression ratios (though it doesn't compress as well <br>
as the much-slower lzip), and my impression is that Zstandard is gaining <br>
in popularity. Perhaps we could start by encouraging the distribution of <br>
tzdata.zi in Zstandard format in addition to what we already distribute; <br>
to represent all of TZDB 2022a's data, tzdata.zi.zst needs just 24,604 <br>
bytes, which is nearly as good as tzdata.zi.lz's 22,460 bytes.<br>
<br>
One more thing. We shouldn't assume that <a href="http://iana.org" rel="noreferrer" target="_blank">iana.org</a> as a utility that <br>
billions of devices can blithely access for time zone data. If you're <br>
building an IoT application for low-end devices, please arrange to have <br>
your downstream servers serve up time zone data. And if you do that, you <br>
can use any compression format you like.<br>
</blockquote></div>