Skip to content

Avoid list allocation (backport #14088) #14089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 17, 2025

This is similar to #14056. The performance benefit is probably negligbile though since this is called only after each batch of Ra commands.
Nevertheless, it's unnecessary to allocate a list with 3 elements and therefore 6 words on the heap, so let's optimise it.


This is an automatic backport of pull request #14088 done by Mergify.

This is simmilar to #14056.
The performance benefit is probably negligbile though since this is
called only after each batch of Ra commands.
Nevertheless, it's unnecessary to allocate a list with 3 elements and
therefore 6 words on the heap, so let's optimise it.

(cherry picked from commit 2ca4766)
@mergify mergify bot assigned ansd Jun 17, 2025
@michaelklishin michaelklishin added this to the 4.1.2 milestone Jun 17, 2025
@michaelklishin michaelklishin merged commit 5c87031 into v4.1.x Jun 17, 2025
546 of 547 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-14088 branch June 17, 2025 11:45
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.

2 participants