Skip to content

refactor: .values() is faster than destructuring arrays#3782

Merged
tido64 merged 1 commit intomainfrom
tido/use-values-instead
Sep 19, 2025
Merged

refactor: .values() is faster than destructuring arrays#3782
tido64 merged 1 commit intomainfrom
tido/use-values-instead

Conversation

@tido64
Copy link
Copy Markdown
Member

@tido64 tido64 commented Sep 18, 2025

Description

When iterating over a Map object, it's faster to iterate over .values() than the object itself and destructuring the key-value pair.

Test plan

n/a

@github-actions github-actions Bot added the feature: metro This is related to Metro label Sep 18, 2025
@tido64 tido64 enabled auto-merge (squash) September 18, 2025 14:39
@tido64 tido64 merged commit 636dfa9 into main Sep 19, 2025
13 checks passed
@tido64 tido64 deleted the tido/use-values-instead branch September 19, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: metro This is related to Metro

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants