Repository navigation
Release 0.2.4 - #53
Closed
github-actions[bot] wants to merge 5 commits into
Closed
github-actions[bot] wants to merge 5 commits into
github-actions[bot] wants to merge 5 commits into
Conversation
Directory archives written by `put()` used tarfile's default gzip level 9 on
a single core. On a 12.4 GB Oasis inputs directory that took 369 s locally
(~23 min on Fargate) for a 7.9x ratio; level 1 takes 32 s for 7.1x.
- Default gzip compresslevel is now 1 (configurable via `archive_compresslevel`)
- New `archive_compression` option ('gz' or 'zst') and per call
`put(..., compression=...)` override; zstd is multi-threaded
(`archive_threads`, -1 for every core) via the stdlib `compression.zstd`
on Python 3.14+ or the `zstandard` package (new `[zstd]` extra)
- `extract()` detects zstd archives by magic bytes
- Archive options are kept by `to_config()`
- New `archive_suffix()` returns the extension for the configured format
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ARCHIVE_SUFFIXES in filestore/archive.py now determines archive suffixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Write with tarfile.open(..., "w:zst", options=...) and let tarfile auto-detect zstd on read, instead of wrapping a ZstdFile in a streamed tar. Reads on 3.14+ are now seekable; the zstandard fallback is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Faster directory archives: gzip level 1 default and optional zstd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.2.4