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

acl: Avoid allocations when checking implied ops #12114

Merged

Commits on Jul 14, 2023

  1. acl: Avoid allocations when checking implied ops

    `acl_implied_ops` was quite visible (~3%) in the callchains leading to
    `operator new()` in the LRC profile.
    
    It's called for every partition so this is not entirely surprising when
    using larger partition counts.
    
    Avoid the allocations by "inlining" the check into the function so that
    no vector has to be allocated.
    
    (cherry picked from commit 74ea237)
    StephanDollberg committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    3a7c228 View commit details
    Browse the repository at this point in the history