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

Use stable BTreeMap directly to report stats #2631

Merged
merged 1 commit into from
Sep 27, 2024

Commits on Sep 27, 2024

  1. Use stable BTreeMap directly to report stats

    When implementing the original stats feature, I missed that `len` exists
    on the stable `BTreeMap`, leading to a much more complicated implementation
    for keeping track of the number of event stats related data.
    
    This is the first step of simplifying again (we need to wait one
    release before removing the duplicated counters for rollback
    compatibility).
    frederikrothenberger committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    5ec00d8 View commit details
    Browse the repository at this point in the history