SzyWilliam commented on PR #964:
URL: https://github.com/apache/ratis/pull/964#issuecomment-1812421695

   > We may use getLong(..) to reduce the number of calls.
   
   You are right! getLong() seems good enough to amortize one index validation 
to 8 bytes.
   
   > Since there are package private method CrcByteBuffer have to be in 
java.nio. Everything seems to work until getting
   java.lang.SecurityException: Prohibited package name: java.nio
   
   Thanks for taking time on this exploration! That's really unfortunate, we 
are almost there. Still, I think getLong is good enough!
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to