Skip to content

Cargo.toml: v1.5.0 - #16

Merged
JordanYates merged 4 commits into
mainfrom
bugfix/trailing_blocks
Dec 18, 2025
Merged

Cargo.toml: v1.5.0#16
JordanYates merged 4 commits into
mainfrom
bugfix/trailing_blocks

Conversation

@JordanYates

Copy link
Copy Markdown
Contributor
  • Fix bug that caused a variable number of blocks at the end of a file to not be decoded
  • Limit the number of threads used for small files
  • Update TDF definitions

Fix the logic that calculates the leftover blocks to assign to the last
worker. Fixes up to `num_cpus::get()` blocks at the end of the file from
being ignored.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Ensure that each worker has at least 100 blocks, rather than spinning
up a number of threads that each only decode a handful of blocks for
small files.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Regenerate definitions for new TDFs.

Signed-off-by: Jordan Yates <jordan@embeint.com>
 - Fix bug that caused a variable number of blocks at the end of a file
   to not be decoded
 - Limit the number of threads used for small files
 - Update TDF definitions

Signed-off-by: Jordan Yates <jordan@embeint.com>
@JordanYates
JordanYates force-pushed the bugfix/trailing_blocks branch from 33e6ca7 to d719bc5 Compare December 18, 2025 03:40
@JordanYates
JordanYates merged commit 8da389b into main Dec 18, 2025
3 checks passed
@JordanYates
JordanYates deleted the bugfix/trailing_blocks branch December 18, 2025 04:26
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.

1 participant