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

PI: Remove b_ calls #986

Merged
merged 1 commit into from Jun 14, 2022
Merged

PI: Remove b_ calls #986

merged 1 commit into from Jun 14, 2022

Commits on Jun 14, 2022

  1. PI: Remove b_ calls

    Function calls are cheap, but not for free in Python.
    The b_ function converts a string to a bytes object. When we have
    a constant string, we can use the constant byte representation
    instead (a b"byte literal" instead of b_("string literal"))
    MartinThoma committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    1d8891f View commit details
    Browse the repository at this point in the history