Skip to content

Cap the zstd window size for better browser support#329

Merged
ryanfowler merged 1 commit intomainfrom
zstd-window-size
Aug 12, 2025
Merged

Cap the zstd window size for better browser support#329
ryanfowler merged 1 commit intomainfrom
zstd-window-size

Conversation

@ryanfowler
Copy link
Owner

No description provided.

@ryanfowler ryanfowler requested a review from Copilot August 12, 2025 01:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR caps the zstd compression window size to improve browser compatibility by limiting the window log to 23 (8 MiB) and disabling long distance matching.

  • Added configuration to limit zstd window size for browser support
  • Reorganized imports to include CParameter from zstd_safe
  • Added explicit parameter settings to the zstd encoder

@ryanfowler ryanfowler enabled auto-merge August 12, 2025 01:41
@ryanfowler ryanfowler merged commit c268003 into main Aug 12, 2025
2 checks passed
@ryanfowler ryanfowler deleted the zstd-window-size branch August 12, 2025 01:41
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.

2 participants