Skip to content

Don't make a Vec of &Part. Just use a reference to slice from Vec<Part>#92

Merged
valenting merged 1 commit intodenoland:mainfrom
jrmuizel:main
Feb 4, 2026
Merged

Don't make a Vec of &Part. Just use a reference to slice from Vec<Part>#92
valenting merged 1 commit intodenoland:mainfrom
jrmuizel:main

Conversation

@jrmuizel
Copy link
Contributor

This avoids allocating a new Vec and makes paring about 2% faster.

This avoids allocating a new Vec and makes paring about 2% faster.
@valenting valenting merged commit 8365964 into denoland:main Feb 4, 2026
2 checks passed
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