Skip to content
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

chore: use for … of + if instead of arrow func chaining #808

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

patricebender
Copy link
Member

[cap/dev] etc/perf.js

for (each of keys) if ... 196 ms
for (each of keys) || ... 188 ms
keys.filter.forEach (...) 323 ms

[cap/dev] etc/perf.js

for (each of keys) if ...                  196 ms
for (each of keys) || ...                  188 ms
keys.filter.forEach (...)                  323 ms
@David-Kunz
Copy link
Contributor

@danjoa , might also be relevant for our srv-dispatch.

@patricebender patricebender enabled auto-merge (squash) September 23, 2024 13:22
@patricebender patricebender merged commit abe1dcc into main Sep 23, 2024
6 checks passed
@patricebender patricebender deleted the patrice/improves branch September 23, 2024 13:30
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