You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Quotient filter number of slots suggestion function currently hardcodes the load factor for the lgNumSlots suggestion. When we decide whether to pass the LOAD_FACTOR constant as a parameter to the filter, we also need to appropriately update the suggestion functions.
Alternatively, we could add a further parameter to suggestLgNumSlots(long maxDistinctItems) to change it to suggestLgNumSlots(long maxDistinctItems, double maxLoad) along with the change byte result = (byte) Math.ceil(Math.log(maxDistinctItems / maxLoad) / Math.log(2));
The text was updated successfully, but these errors were encountered:
The Quotient filter number of slots suggestion function currently hardcodes the load factor for the
lgNumSlots
suggestion. When we decide whether to pass theLOAD_FACTOR
constant as a parameter to the filter, we also need to appropriately update the suggestion functions.Alternatively, we could add a further parameter to
suggestLgNumSlots(long maxDistinctItems)
to change it tosuggestLgNumSlots(long maxDistinctItems, double maxLoad)
along with the changebyte result = (byte) Math.ceil(Math.log(maxDistinctItems / maxLoad) / Math.log(2));
The text was updated successfully, but these errors were encountered: