netty5/buffer
Dmitry Konstantinov 71b7dbc009 Optimize log2 in PoolThreadCache (#10128)
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.
2020-03-24 11:14:08 +01:00
..
src Optimize log2 in PoolThreadCache (#10128) 2020-03-24 11:14:08 +01:00
pom.xml Update version number to start working on Netty 5 2018-11-20 15:49:57 +01:00