Repository navigation
Update dependency Blosc/c-blosc2 to v2.23.1 - #39
Merged
Merged
Conversation
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.
This PR contains the following updates:
2.23.0→2.23.1Release Notes
Blosc/c-blosc2 (Blosc/c-blosc2)
v2.23.1Compare Source
================================
This release introduces support for variable-length chunks and variable-length
blocks, which is the main reason for the major version bump.
Until now, a schunk/frame generally assumed that all chunks shared the same
logical chunk size, and regular Blosc2 chunks assumed fixed-size internal blocks
(except for the last remainder block). In 3.0.0-rc.1, schunks can switch to
variable chunk sizes when needed, and there is also a new chunk layout for
variable-length blocks (VL-blocks), where each block can carry a different
uncompressed size inside the same chunk.
This is especially useful for workloads made of naturally variable-size pieces
of data, like strings, records, JSON fragments, or other irregular payloads
that previously had to be padded, split awkwardly, or stored as independent
chunks. The new layout keeps these pieces grouped together while still making
them individually recoverable.
Together with this, there are new public APIs for VL-block chunks:
blosc2_vlcompress_ctx(),blosc2_vldecompress_ctx(),blosc2_vlchunk_get_nblocks(),blosc2_vldecompress_block_ctx(), andblosc2_schunk_get_vlblock(). Lazy loading also works with VL-block chunks,so individual blocks can be fetched on demand without materializing the whole
chunk first.
The chunk and cframe formats have been extended to represent variable chunk
sizes, VL-block chunks, and dictionary usage more explicitly. Forward
compatibility checks were tightened as part of this work, and regular chunks
keep their previous stable format version while VL-block chunks use a new one.
Dictionary compression has been expanded and improved:
use_dictnow works with LZ4 and LZ4HC in addition to ZSTD, the dictionarystate is preserved correctly across chunk compression/decompression, and the
frame metadata now round-trips the dictionary setting. There is also a new
minimum useful dictionary threshold to avoid training or using dictionaries
that are too small to help.
The necessary changes for accommodating all these improvements have been fully
documented in README_CHUNK_FORMAT.md and README_CFRAME_FORMAT.md. Again,
care has been taken to ensure that the chunk and frame formats are backward
compatible with previous versions of C-Blosc2.
Fixed several safety issues in the core library, as well as in ndcell/ndlz
plugins. Thanks to Trail of Bits (in collaboration with Anthropic).
Additional compatibility and portability fixes include better protection
against unsupported future chunk/frame versions and proper VSX shuffle support
detection on big-endian ppc64. Thanks to @AutoJanitor for these.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.