Assert enough room in decoded buffer#79
Merged
Merged
Conversation
CodSpeed Performance ReportMerging #79 will degrade performances by 14.02%Comparing Summary
Benchmarks breakdown
|
Member
|
Can you elaborate a bit as to why we shouldn't? |
Merged
gatesn
pushed a commit
that referenced
this pull request
Mar 12, 2025
## 🤖 New release * `fsst-rs`: 0.5.0 -> 0.5.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.5.1](v0.5.0...v0.5.1) - 2025-03-12 ### Other - Decompress in 8-byte blocks ([#82](#82)) - *(deps)* lock file maintenance ([#83](#83)) - Assert enough room in decoded buffer ([#79](#79)) - *(deps)* update rust crate criterion to v2.9.1 ([#80](#80)) - *(deps)* update mozilla-actions/sccache-action action to v0.0.8 ([#78](#78)) - *(deps)* lock file maintenance ([#77](#77)) - Add codspeed ([#76](#76)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
a1412744807
added a commit
to a1412744807/rs-fsst
that referenced
this pull request
Oct 27, 2025
## 🤖 New release * `fsst-rs`: 0.5.0 -> 0.5.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.5.1](spiraldb/fsst@v0.5.0...v0.5.1) - 2025-03-12 ### Other - Decompress in 8-byte blocks ([#82](spiraldb/fsst#82)) - *(deps)* lock file maintenance ([#83](spiraldb/fsst#83)) - Assert enough room in decoded buffer ([#79](spiraldb/fsst#79)) - *(deps)* update rust crate criterion to v2.9.1 ([#80](spiraldb/fsst#80)) - *(deps)* update mozilla-actions/sccache-action action to v0.0.8 ([#78](spiraldb/fsst#78)) - *(deps)* lock file maintenance ([#77](spiraldb/fsst#77)) - Add codspeed ([#76](spiraldb/fsst#76)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Goodbai-1206
added a commit
to Goodbai-1206/fsst-rs
that referenced
this pull request
Oct 29, 2025
## 🤖 New release * `fsst-rs`: 0.5.0 -> 0.5.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.5.1](spiraldb/fsst@v0.5.0...v0.5.1) - 2025-03-12 ### Other - Decompress in 8-byte blocks ([#82](spiraldb/fsst#82)) - *(deps)* lock file maintenance ([#83](spiraldb/fsst#83)) - Assert enough room in decoded buffer ([#79](spiraldb/fsst#79)) - *(deps)* update rust crate criterion to v2.9.1 ([#80](spiraldb/fsst#80)) - *(deps)* update mozilla-actions/sccache-action action to v0.0.8 ([#78](spiraldb/fsst#78)) - *(deps)* lock file maintenance ([#77](spiraldb/fsst#77)) - Add codspeed ([#76](spiraldb/fsst#76)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
akkjs887
added a commit
to akkjs887/rt-rsst
that referenced
this pull request
Oct 29, 2025
## 🤖 New release * `fsst-rs`: 0.5.0 -> 0.5.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.5.1](spiraldb/fsst@v0.5.0...v0.5.1) - 2025-03-12 ### Other - Decompress in 8-byte blocks ([#82](spiraldb/fsst#82)) - *(deps)* lock file maintenance ([#83](spiraldb/fsst#83)) - Assert enough room in decoded buffer ([#79](spiraldb/fsst#79)) - *(deps)* update rust crate criterion to v2.9.1 ([#80](spiraldb/fsst#80)) - *(deps)* update mozilla-actions/sccache-action action to v0.0.8 ([#78](spiraldb/fsst#78)) - *(deps)* lock file maintenance ([#77](spiraldb/fsst#77)) - Add codspeed ([#76](spiraldb/fsst#76)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
yelirekhmon
added a commit
to yelirekhmon/fstrs
that referenced
this pull request
Oct 30, 2025
## 🤖 New release * `fsst-rs`: 0.5.0 -> 0.5.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.5.1](spiraldb/fsst@v0.5.0...v0.5.1) - 2025-03-12 ### Other - Decompress in 8-byte blocks ([#82](spiraldb/fsst#82)) - *(deps)* lock file maintenance ([#83](spiraldb/fsst#83)) - Assert enough room in decoded buffer ([#79](spiraldb/fsst#79)) - *(deps)* update rust crate criterion to v2.9.1 ([#80](spiraldb/fsst#80)) - *(deps)* update mozilla-actions/sccache-action action to v0.0.8 ([#78](spiraldb/fsst#78)) - *(deps)* lock file maintenance ([#77](spiraldb/fsst#77)) - Add codspeed ([#76](spiraldb/fsst#76)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
C++ version includes this check too
posOut+32 <= size:https://github.com/carlopi/duckdb/blob/b2f613b238a9ca7b739b76dac6fd8dd551dea817/third_party/fsst/fsst.h#L177
We should not trust that the caller has reserved sufficient space.