• Clayton Coleman's avatar
    Avoid allocating when performing VisitRulesFor on service accounts · 4c87a14e
    Clayton Coleman authored
    Service account authorization checks are done frequently and were
    observed to perform 7% of allocations on a system running e2e tests.
    The allocation comes from when we walk the authorization rules to
    find matching service accounts.
    
    Optimize the check for service account names to avoid allocating.
    4c87a14e