-
-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
I suggest to compile the Linux wheels with -g0 to reduce their size from 2.5 to ~0.5 MB.
The Linux wheels for zstandard are quite large at typically over 2 MB, especially compared to the Windows and macOS ones which have around 500 kB. The larger size seems to come from including debug information on Linux. To confirm this, I unpacked the .whl file manually, ran strip on the .so file and re-packed it. The resulting wheel has a size of just 400 kB.
I would like to suggest to pass CFLAGS=-g0 when creating the wheels, which leads to a similar size reduction. I have done this in multiple projects without detrimental effects.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels