athanatos opened a new pull request #940: BookieProtoEncoding: remove unnecessary slice() call URL: https://github.com/apache/bookkeeper/pull/940 The ByteBuf returned by slice() has the same refcount and underlying buffer, it simply has independent index marks. As far as I can tell, buffer isn't used after this point, so we can just pass it in. Signed-off-by: Samuel Just <[email protected]>
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
