913cae6fef
Motivation: The current implementation of log2 in PoolThreadCache uses a loop and less efficient than an version based on Integer.numberOfLeadingZeros (intrinsic). Modifications: Replace the current log2 implementation in PoolThreadCache with a version based on Integer.numberOfLeadingZeros Result: It can improve performance slightly during allocation and de-allocation of ByteBuf using pooled allocator. |
||
---|---|---|
.. | ||
src | ||
pom.xml |