netty5/buffer/src
old driver 078cdd2597 Add fast path in ByteBufUtil.compare and ByteBufUtil.equals methods (#11296)
Motivation:

When object-references are both same, the method should return 0 directly with no necessary go loop&compare the content of the ByteBuf.

Modification:

Added short circuit when both object-references are the same for equals and compare methods.

Result:

Added short circuit code.
2021-05-25 08:20:06 +02:00
..
main Add fast path in ByteBufUtil.compare and ByteBufUtil.equals methods (#11296) 2021-05-25 08:20:06 +02:00
test/java/io/netty/buffer Cleanup test classes 2021-05-12 14:40:30 +02:00