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

Fix linear scan in LoadNextMsg with partial per-subject info state #5532

Merged
merged 1 commit into from
Jun 13, 2024

Commits on Jun 13, 2024

  1. Fix linear scan in LoadNextMsg with partial per-subject info state

    If the per-subject info didn't have a correct first block (which is possible
    as it is populated lazily), then `LoadNextMsg` could end up making a very
    expensive call through to `numFilteredPending` which would do a linear scan
    of potentially many blocks.
    
    Signed-off-by: Neil Twigg <[email protected]>
    neilalexander committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    4396a5d View commit details
    Browse the repository at this point in the history