Description
SerializationUtils
310 int idx = encodeBitWidth(findClosestNumBits(data[i]));
public int encodeBitWidth(int n) { n = getClosestFixedBits(n); ..... }
public int findClosestNumBits(long value) { final int numBits = 64 - Long.numberOfLeadingZeros(value); return getClosestFixedBits(numBits); }
getClosestFixedBits is called twice.
Attachments
Issue Links
- links to