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

Reduce surface & size of Cardinality #481

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

nitishr
Copy link
Contributor

@nitishr nitishr commented Mar 17, 2020

and simplify cardinality setting methods of Expectation by delegating to times wherever possible

@nitishr nitishr changed the title Reduce internal API surface of Cardinality Reduce surface & size of Cardinality Mar 17, 2020
@floehopper floehopper changed the base branch from master to main July 24, 2020 16:38
@nitishr nitishr force-pushed the simplify-cardinality branch 3 times, most recently from bf6018b to 4215af3 Compare February 26, 2025 13:46
nitishr and others added 9 commits March 1, 2025 18:01
Since times now accepts a required and a maximum number of calls, it can
replace at_{least,most}, reducing its API surface, which is internal
anyway.
... since times just delegated to update
This reverts commit 9d0d37a. 'times'
expresses the responsibility of this method better, but had to be
renamed earlier due to the introduction of a public method with the same
name. That method is now gone, so we can revert to the original name.
@nitishr nitishr force-pushed the simplify-cardinality branch from 4215af3 to 0a7890e Compare March 1, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant