feat(text): retain bounded raster capacity - #14
Merged
thejustinwalsh merged 2 commits intoAug 4, 2026
Conversation
thejustinwalsh
force-pushed
the
feat/text-retained-capacity
branch
from
August 2, 2026 00:31
33b1520 to
44f91e2
Compare
thejustinwalsh
force-pushed
the
feat/text-retained-capacity
branch
from
August 4, 2026 01:44
44f91e2 to
2245948
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is roadmap item 10.3 and is stacked on #13. It does not add renderer-wide batching across independent
Textobjects.Verification
pnpm --filter @pmndrs/text test— 191 package/integration tests and 6 deterministic fuzz-smoke tests passed;pnpm --filter @pmndrs/text-benchmarks test:unit— 261 tests passed;pnpm --filter @pmndrs/text-benchmarks test:headless— all 19 conformance cases pass, including React reconciliation with retained capacity;pnpm --filter @pmndrs/text-benchmarks check:size— exact report and reviewed ceilings passed;pnpm --filter @pmndrs/text-benchmarks check:autoresearch-baselinepassed;pnpm docs:checkpassed with zero OKF errors or warnings.Browser core, baker hosts, and Wasm artifacts remain byte-identical. Relative to #13, optional Bitmap, MTSDF, and Slug closures grow by 598, 762, and 1,204 Brotli bytes respectively and remain under existing absolute budgets.