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

Commits on Aug 4, 2021

  1. refactor(tokenizer): Iterate over char codes

    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 committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    4f01ca0 View commit details
    Browse the repository at this point in the history