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

Switch tokenizer to use a pointer rather than index for position tracking #383

Closed
wants to merge 3 commits into from

Conversation

emilio
Copy link
Member

@emilio emilio commented Apr 7, 2024

This is like #381 (and thus would fix #210), but it's somehow also still slower.

This adds a more comprehensive benchmark for testing purposes which tokenizes bootstrap.min.css (just the first big sheet I came up with).

…king.

Fixes #210. Posted for posterity since it seems a regression at least in
some of our benchmarks, and would need more work.
@emilio emilio closed this Apr 7, 2024
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.

Consider using a pointer offset instead of a slice and integer position
1 participant