Skip to content

Conversation

@jjhelmus
Copy link
Contributor

In version 5.6.0 and newer, liblzma is licensed under the BSD Zero Clause License (0BSD).

@jjhelmus
Copy link
Contributor Author

On my arm64 macbook this upgrade significantly improves the performance of lzma compression in Python.

Using the pybench benchmarks from #846

With xz 5.2.12 
...
Compress using LZMA algorithm:
[========================================] 100.0% 0:00:17
...

With xz 5.8.1
...
Compress using LZMA algorithm:
[========================================] 100.0% 0:00:04
...

This performance is in line with other Python interpreters I've examined.

@jjhelmus jjhelmus added libc:musl platform:linux Specific to the Linux platform platform:windows Specific to the Windows platform python:3.13 and removed platform:linux Specific to the Linux platform libc:musl labels Nov 13, 2025
config.h file is sourced from CPython's cpython-source-deps repo.
@jjhelmus jjhelmus removed platform:windows Specific to the Windows platform python:3.13 labels Nov 14, 2025
@jjhelmus jjhelmus requested a review from zanieb November 14, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants