apache / datasketches-java

A software library of stochastic streaming algorithms, a.k.a. sketches.
https://datasketches.apache.org
Apache License 2.0
898 stars 209 forks source link

Refactor KllLongsSketch classes #585

Closed Abhiram98 closed 4 months ago

Abhiram98 commented 4 months ago

Refactor KllDirectLongsSketch, KllHeapLongsSketch, KllHeapLongsSketch by primarily renaming variables, splitting long methods.

List of changes:

KllDirectLongsSketch.java

KllHeapLongsSketch.java

KllLongsHelper.java

leerho commented 4 months ago

I want to thank you for your interest in our Library and wanting to make a contribution.

However, I have some serious concerns about this particular set of changes.

Change for change-sake is not a contribution, and stylistic changes such as these are actually a detriment because they are not consistent with the rest of the library. And in this case, actually destroyed the ease of checking and debugging across parallel classes.

When making contributions, it is important to be sensitive to the style of the original authors, even if it is not your preferred style. And in a library, such as this, it is important to be aware of how your proposed changes might impact the rest of the library.

I am closing this PR.

Abhiram98 commented 4 months ago

Thank you for your detailed response. Your feedback is very valuable to me!