Skip to content

box LZOxide.codes on wasm32 to reduce stack allocation#189

Merged
oyvindln merged 1 commit intoFrommi:masterfrom
fabracht:fix-wasm-stack-overflow
Jan 21, 2026
Merged

box LZOxide.codes on wasm32 to reduce stack allocation#189
oyvindln merged 1 commit intoFrommi:masterfrom
fabracht:fix-wasm-stack-overflow

Conversation

@fabracht
Copy link
Copy Markdown
Contributor

Closes #188

Moves the 64KB LZOxide.codes array to heap on wasm32. Gated behind cfg(target_arch = "wasm32") as discussed.

@oyvindln oyvindln merged commit d0f3e0c into Frommi:master Jan 21, 2026
10 checks passed
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.

CompressorOxide causes stack overflow in WASM due to 64KB inline array

2 participants