Skip to content

Avoid duplicate Buffer.byteLength call on bundle string - #2079

Merged
robhogan merged 1 commit into
react:mainfrom
kitten:@kitten/perf/duplicate-bytelength-check
Oct 19, 2026
Merged

robhogan merged 1 commit into
react:mainfrom
kitten:@kitten/perf/duplicate-bytelength-check

Conversation

@kitten

@kitten kitten commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes duplicate Buffer.byteLength call on bundle string. Due to the bundle's length, this isn't a trivial operation.

Changelog: [Internal]

Test plan

n/a

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 19, 2026
@robhogan
robhogan merged commit 596ebfb into react:main Oct 19, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants