[ https://issues.apache.org/jira/browse/LUCENE-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135473#comment-17135473 ]
Uwe Schindler commented on LUCENE-9404: --------------------------------------- [~dweiss]: The Java 9 version is completely new, so in branch_8x we were not able to use it. Maybe that was the reason, we just forgot to update it for Lucene 9. > simplify checksum calculation of ByteBuffersIndexOutput > ------------------------------------------------------- > > Key: LUCENE-9404 > URL: https://issues.apache.org/jira/browse/LUCENE-9404 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Robert Muir > Priority: Major > Attachments: LUCENE-9404.patch > > > I think this class can avoid its current logic/copying and just call > CRC32.update(ByteBuffer) which is optimized for both array and direct buffers? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org