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

Remove unnecessary unsafe functions #998

Merged
merged 1 commit into from
Mar 24, 2024

Commits on Mar 22, 2024

  1. Remove unnecessary unsafe functions

    Fundamentally, pest never does anything unsafe. All of the UTF-8 slicing
    uses indexing and is therefore checked. There's no need to provide the
    internal guarantee that all pest positions lie on UTF-8 boundaries when
    it provides no performance benefit.
    djkoloski committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4f11bb7 View commit details
    Browse the repository at this point in the history