Skip to content

Introduce features = ["small"] to reduce binary size for Wasm#1

Merged
gfx merged 5 commits intomainfrom
gfx/wasm_size_optimize
Feb 13, 2026
Merged

Introduce features = ["small"] to reduce binary size for Wasm#1
gfx merged 5 commits intomainfrom
gfx/wasm_size_optimize

Conversation

@gfx
Copy link
Member

@gfx gfx commented Feb 13, 2026

No description provided.

gfx and others added 5 commits February 13, 2026 22:29
Drop #[inline] from functions with substantial code (short, parse,
parse_text, fmt_float, format_base10, trim_zeros, uscale, unpack64,
fixed_width, mul_pow10) to reduce WASM code duplication. Keep it on
tiny helpers only. Run tests and clippy for both feature configs in CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gfx gfx changed the title wasm size optimize with features = small Introduce features = ["small"] to reduce binary size for Wasm Feb 13, 2026
@gfx gfx merged commit 7fe3045 into main Feb 13, 2026
2 checks passed
@gfx gfx deleted the gfx/wasm_size_optimize branch February 13, 2026 15:23
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