This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients Zooko.Wilcox-O'Hearn, christian.heimes, corona10, gregory.p.smith, jstasiak, kmaork, larry, lemburg, mgorny, oconnor663, xtreak
Date 2022-03-23.19:12:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <d78a757d-b520-1546-3ad8-1e47d87fd2d5@egenix.com>
In-reply-to <1648059279.31.0.485431098739.issue39298@roundup.psfhosted.org>
Content
With "lean" I meant: doesn't use much code and is easy to compile
and install.

I built a wheel from Jack's experimental package and it comes out to
just under 100kB on Linux x64, compared to around the 1.1MB the
Rust wheel needs:

Archive:  blake3_experimental_c-0.0.1-cp310-cp310-linux_x86_64.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
   348528  2022-03-23 18:38   blake3.cpython-310-x86_64-linux-gnu.so
     3183  2022-03-23 18:38   blake3_experimental_c-0.0.1.dist-info/METADATA
      105  2022-03-23 18:38   blake3_experimental_c-0.0.1.dist-info/WHEEL
        7  2022-03-23 18:38   blake3_experimental_c-0.0.1.dist-info/top_level.txt
      451  2022-03-23 18:38   blake3_experimental_c-0.0.1.dist-info/RECORD
---------                     -------
   352274                     5 files

Archive:  blake3-0.3.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
     3800  2022-01-13 01:26   blake3-0.3.1.dist-info/METADATA
      133  2022-01-13 01:26   blake3-0.3.1.dist-info/WHEEL
       48  2022-01-13 01:26   blake3/__init__.py
  4195392  2022-01-13 01:26   blake3/blake3.cpython-310-x86_64-linux-gnu.so
      382  2022-01-13 01:26   blake3-0.3.1.dist-info/RECORD
---------                     -------
  4199755                     5 files

I don't know why there is such a significant difference in size. Perhaps
the Rust version includes multiple variants for different CPU
optimizations ?!
History
Date User Action Args
2022-03-23 19:12:09lemburgsetrecipients: + lemburg, gregory.p.smith, larry, christian.heimes, mgorny, Zooko.Wilcox-O'Hearn, jstasiak, oconnor663, corona10, xtreak, kmaork
2022-03-23 19:12:09lemburglinkissue39298 messages
2022-03-23 19:12:09lemburgcreate