[ 
https://issues.apache.org/jira/browse/LUCENE-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136524#comment-17136524
 ] 

ASF subversion and git services commented on LUCENE-9404:
---------------------------------------------------------

Commit a108f90869cdb030db6ba14653036a4fee58ff68 in lucene-solr's branch 
refs/heads/master from Robert Muir
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a108f90 ]

LUCENE-9404: simplify checksum calculation of ByteBuffersIndexOutput

Rather than copying from buffers, we can pass the buffers directly to the 
checksum with good performance in JDK9+


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to