Skip to content

layout/script: Free memory earlier by consuming instead of draining the temporary container if it is unused#43826

Merged
jdm merged 1 commit intoservo:mainfrom
yezhizhen:drain
Apr 1, 2026
Merged

layout/script: Free memory earlier by consuming instead of draining the temporary container if it is unused#43826
jdm merged 1 commit intoservo:mainfrom
yezhizhen:drain

Conversation

@yezhizhen
Copy link
Copy Markdown
Member

Follow up of #43226
This also allows us to remove some mut declaration.
Fix some unintended Chinese quotation mark.

Testing: This is a micro-optimization which does not change visible behaviour.

Signed-off-by: Euclid Ye <[email protected]>
@yezhizhen yezhizhen requested a review from xiaochengh April 1, 2026 06:54
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 1, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 1, 2026
@jdm jdm added this pull request to the merge queue Apr 1, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 1, 2026
Merged via the queue into servo:main with commit 5fb3877 Apr 1, 2026
33 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 1, 2026
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.

4 participants