Skip to content

planner/optimizer: CMSWithHeap should move count_events into a subtype #420

Closed

Description

@milindsrivastava1997

planner/optimizer — `CMSWithHeap` currently takes `count_events` as a parameter in `candidate_gen.rs`'s param grid, rather than as a subtype. This is inconsistent with how plain `CountMinSketch` differentiates "sum" vs "count" via `aggregation_sub_type`.

Proposal: remove `count_events` from `CMSWithHeap`'s parameters and instead express it as a subtype, mirroring the CountMinSketch sum/count pattern, for consistency across sketch families.

Found during code review of PR #407.

Activity

  1. milindsrivastava1997 commented on Oct 27, 2026

    @milindsrivastava1997
    ContributorAuthor

    Done in #719.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    asap-plannerenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions