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

build: toControllerOptions: micro-optimization #1907

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 23, 2023

  1. build: toControllerOptions: micro-optimization

    Swapping the order of these checks, which I guess is the most minimal
    optimization possible
    
        BenchmarkGetEnv-10    68764720    16.82  ns/op   0 B/op   0 allocs/op
        BenchmarkMap-10      454135184     2.635 ns/op   0 B/op   0 allocs/op
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    8ec437d View commit details
    Browse the repository at this point in the history