Skip to content

perf(index): use optional chaining#113

Merged
Fdawgs merged 1 commit intomainfrom
Fdawgs-patch-1
Jan 5, 2025
Merged

perf(index): use optional chaining#113
Fdawgs merged 1 commit intomainfrom
Fdawgs-patch-1

Conversation

@Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Jan 3, 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>
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