Repository navigation
Conversation
Contributor
No changeset neededThis pull request is classified as no_release_impact: no published package |
|
Size Reduced — -0.0 KB 129.4 KB unpacked |
commit: |
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.
What does this PR do?
Simplify
getElementBounds()by inlining the temporaryTextEncoderand using a one-line early return when the element is missing. Lookup behavior and memory layout stay unchanged.Stacked on #162; this PR targets
cleanup/renderer-directive-constantsand adds only the metadata lookup cleanup. No separate issue is needed for this mechanical refactor.Validation: all 29 test suites (385 steps),
deno task fmt:check, anddeno lintpass. Randeno task fmt; no additional formatting changes were needed.Type of change
Checklist
deno task test)deno task fmt)AI-generated code disclosure