Skip to content

evaluator: Optimize rvalue access#211

Merged
WerWolv merged 1 commit intoWerWolv:masterfrom
AkiSakurai:fastarray2
Dec 15, 2025
Merged

evaluator: Optimize rvalue access#211
WerWolv merged 1 commit intoWerWolv:masterfrom
AkiSakurai:fastarray2

Conversation

@AkiSakurai
Copy link
Copy Markdown
Contributor

Accessing elements of an rvalue array previously required creating a temporary shallow copy of the array or struct entries, which could be unnecessarily slow.

This commit eliminates the unnecessary copy by iterating over the elements directly.

Accessing elements of an rvalue array previously required creating a temporary
shallow copy of the array or struct entries, which could be unnecessarily slow.

This commit eliminates the unnecessary copy by iterating over the elements directly.
@WerWolv WerWolv merged commit a06da46 into WerWolv:master Dec 15, 2025
5 checks passed
@WerWolv
Copy link
Copy Markdown
Owner

WerWolv commented Dec 15, 2025

Thank you!

lawm pushed a commit to lawm/PatternLanguage that referenced this pull request Mar 13, 2026
Accessing elements of an rvalue array previously required creating a temporary
shallow copy of the array or struct entries, which could be unnecessarily slow.

This commit eliminates the unnecessary copy by iterating over the elements directly.
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