Skip to content

Comments

perf(index): use optional chaining#152

Merged
Fdawgs merged 1 commit intomasterfrom
Fdawgs-patch-1
Jan 2, 2025
Merged

perf(index): use optional chaining#152
Fdawgs merged 1 commit intomasterfrom
Fdawgs-patch-1

Conversation

@Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Jan 2, 2025

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>
@Fdawgs Fdawgs merged commit 3a7a799 into master Jan 2, 2025
13 checks passed
@Fdawgs Fdawgs deleted the Fdawgs-patch-1 branch January 2, 2025 11:23
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.

1 participant