Skip to content

tokenizer: Source positions are always at char boundaries, so avoid overhead when slicing #356

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

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

emilio
Copy link
Member

@emilio emilio commented Aug 24, 2023

These show up in profiles: https://share.firefox.dev/45Gh2s7

@emilio
Copy link
Member Author

emilio commented Aug 24, 2023

r? @tiaanl

Copy link
Collaborator

@tiaanl tiaanl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope the debug_asserts doesn't make debug builds too slow.

@emilio emilio added this pull request to the merge queue Aug 25, 2023
@emilio
Copy link
Member Author

emilio commented Aug 25, 2023

Nah, they were checked in the index operation before.

Merged via the queue into master with commit d320a8e Aug 25, 2023
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