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

Add fast paths for get with smaller component lengths #144

Merged
merged 6 commits into from
Nov 23, 2024

Conversation

memorycode
Copy link
Contributor

@memorycode memorycode commented Nov 23, 2024

This PR adds special cases for geting 1-4 components to avoid a table allocation and unpack.

Ukendio
Ukendio previously approved these changes Nov 23, 2024
@memorycode memorycode merged commit ede11aa into main Nov 23, 2024
6 checks passed
@memorycode memorycode deleted the feature-get-fastpaths branch November 23, 2024 20:08
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