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

perf(index): use optional chaining #47

Merged
merged 1 commit into from
Dec 30, 2024
Merged

perf(index): use optional chaining #47

merged 1 commit into from
Dec 30, 2024

Conversation

Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Dec 30, 2024

Teeny tiny bit faster for a single hop: https://github.com/RafaelGSS/nodejs-bench-operations/blob/main/RESULTS-v22.md#optional-chain--vs--operator

Checklist

Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
Copy link
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Fdawgs Fdawgs merged commit 7463f4d into master Dec 30, 2024
16 checks passed
@Fdawgs Fdawgs deleted the Fdawgs-patch-2 branch December 30, 2024 13:15
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