<div dir="ltr">As an only semi-joke, I have created a module on GH that meets the needs of this discussion (using the spelling I think are most elegant):<div><br></div><div><a href="https://github.com/DavidMertz/RLE">https://github.com/DavidMertz/RLE</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 11, 2017 at 1:53 AM, Serhiy Storchaka <span dir="ltr"><<a href="mailto:storchaka@gmail.com" target="_blank">storchaka@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">11.06.17 09:17, Neal Fultz пише:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
   * other people have been false positive and wanted a SQL-type group by, but got burned<br>
        * hence the warnings in the docs.<br>
</blockquote>
<br></span>
This wouldn't help if people don't read the docs.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, if someone rewrote zip in pure python, would many people actually notice a slow down vs network latency, disk IO,  etc?<br>
</blockquote>
<br></span>
Definitely yes.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
RLE is a building block just like bisect.<br>
</blockquote>
<br></span>
This is very specific building block. And if ZIP compression be rewrote in pure Python it wouldn't use<br>
<br>
FYI, there are multiple compression methods supported in ZIP files, but the zipmodule module implements not all of them. In particular simple RLE based methods are not implemented (they almost not used in real world now). I suppose that if the zipmodule module implements these algorithms it wouldn't use any general RLE implementation.<br>
<br>
<a href="https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT" rel="noreferrer" target="_blank">https://pkware.cachefly.net/we<wbr>bdocs/casestudies/APPNOTE.TXT</a><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofco<wbr>nduct/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Keeping medicines from the bloodstreams of the sick; food <br>from the bellies of the hungry; books from the hands of the <br>uneducated; technology from the underdeveloped; and putting <br>advocates of freedom in prisons.  Intellectual property is<br>to the 21st century what the slave trade was to the 16th.<br></div>
</div>