Skip to content

chore: release - #21

Merged
Mnwa merged 1 commit into
mainfrom
changeset-release/main
Jul 26, 2026
Merged

chore: release#21
Mnwa merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@medicomind/rolldown-compression@2.1.3

Patch Changes

  • da23391 Thanks @Mnwa! - Lower per-batch overhead in the native binding:

    • Every batch now runs on rayon's global thread pool instead of a private pool built per compress call, and the whole batch — input preparation, compression, and result marshalling — runs on it rather than just the compression step. A non-zero concurrency sizes that global pool the first time it is requested; because the global pool can only be built once per process, later batches asking for a different thread count keep the size established by the first one, and a pool that cannot be sized is warned about on stderr rather than failing the batch. concurrency: 0 (the default) leaves rayon's default sizing, one thread per logical CPU.
    • Batch preparation and result collection are parallelized with rayon instead of running as serial iterator passes, so large batches spend less time on the single worker thread before and after the actual compression.
    • Enabled the napi-rs fast path (dyn-symbols + node_version_detect), cutting FFI call overhead on supported Node versions.
    • Internal: Algorithm now implements FromStr/Display instead of inherent parse/name methods.

    No API or behavior changes — compressed output is unchanged.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from a103596 to d414d6e Compare July 26, 2026 13:29
@Mnwa
Mnwa merged commit d079bfb into main Jul 26, 2026
@Mnwa
Mnwa deleted the changeset-release/main branch July 27, 2026 08:18
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