Skip to content

Use &str in Token instead of String#90

Merged
valenting merged 1 commit intodenoland:mainfrom
jrmuizel:main
Jan 23, 2026
Merged

Use &str in Token instead of String#90
valenting merged 1 commit intodenoland:mainfrom
jrmuizel:main

Conversation

@jrmuizel
Copy link
Contributor

@jrmuizel jrmuizel commented Jan 23, 2026

This improves parsing performance by nearly 2x.
Old time: 10.745 µs
New time: 6.0038 µs

This improves parsing performance by nearly 2x.
Old time: 10.745 µs
New time: 6.0038 µs
@valenting valenting merged commit 579d8a7 into denoland:main Jan 23, 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