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

Remove duplicate code #485

Merged
merged 4 commits into from
Dec 20, 2023
Merged

Remove duplicate code #485

merged 4 commits into from
Dec 20, 2023

Conversation

leerho
Copy link
Contributor

@leerho leerho commented Dec 17, 2023

I'm trying to do the next set of updates in smaller batches.

whole bunch of duplicate code in KLL.

Plus some other code cleanup and javadoc cleanup.

Changes to some test code to help with diagnostic understanding of the
operation of the sketch.
@leerho leerho marked this pull request as draft December 17, 2023 19:34
Fixed some SpotBugs issues.
@leerho leerho marked this pull request as ready for review December 18, 2023 02:25
@@ -806,31 +707,32 @@ private static long intCapAux(final int k, final int depth) {
/**
* Performs the integer based calculation of an individual level (or folded level).
* @param k the configured k of the sketch
* @param depth depth the zero-based index of the level being computed.
* @param depth the zero-based index of the level being computed. The max depth is 30!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need "!" in docs?

@leerho leerho merged commit 4d43fc3 into master Dec 20, 2023
4 checks passed
@leerho leerho deleted the remove_duplicate_code branch December 20, 2023 17:30
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.

2 participants