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

⚡️ Speed up function to_name by 117% in cli/codeflash/verification/test_results.py #63

Closed

Commits on Sep 14, 2024

  1. ⚡️ Speed up function to_name by 117%

    This version doesn't create a dict each time function is called. This reduces memory consumption and increases speed. Each enum name is directly mapped to its corresponding string without looking up in dictionary, this is more efficient and quicker in execution.
    codeflash-ai-dev[bot] authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    c783c61 View commit details
    Browse the repository at this point in the history