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

refactor(tokenizer): Iterate over char codes #894

Merged
merged 1 commit into from Aug 5, 2021

Conversation

fb55
Copy link
Owner

@fb55 fb55 commented Aug 4, 2021

This leads to a ~43% speed up in tokenizing performance 🤯

Old Tokenizer x 29,499 ops/sec ±0.20% (93 runs sampled)
Tokenizer x 42,260 ops/sec ±3.00% (92 runs sampled)

This leads to a ~43% speed up in tokenizing performance 🤯

```
Old Tokenizer x 29,499 ops/sec ±0.20% (93 runs sampled)
Tokenizer x 42,260 ops/sec ±3.00% (92 runs sampled)
```
@fb55 fb55 merged commit f5aed75 into master Aug 5, 2021
@fb55 fb55 deleted the refactor/tokenzer-charcodes branch August 5, 2021 16:43
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.

None yet

1 participant