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

Memoize _log.prefix calls #17355

Commits on Apr 27, 2018

  1. Memoize _log.prefix calls

    This is a relatively expensive method for how many times it is called,
    and the cases in which is being used, it doesn't change it's value ever
    between subsequent calls.
    
    This simply memoizes the value that is generated, which very much
    decreases the amount of duplicate work that is done for these methods.
    NickLaMuro committed Apr 27, 2018
    Configuration menu
    Copy the full SHA
    c982f6c View commit details
    Browse the repository at this point in the history