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

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

Commit e1a91aef51ac8fd55c7f4cb26ae471b53d4879da in lucene's branch 
refs/heads/branch_9x from Adrien Grand
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=e1a91aef51a ]

LUCENE-10661: Move CHANGES entry to 9.4.


> Reduce memory copy in BytesStore
> --------------------------------
>
>                 Key: LUCENE-10661
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10661
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: LuYunCheng
>            Priority: Major
>             Fix For: 9.4
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> This is derived from 
> [LUCENE-10627](https://github.com/apache/lucene/pull/987) AND 
> [LUCENE-10657](https://github.com/apache/lucene/pull/1034)
> The abstract method copyBytes in DataOutput have to copy from input to a 
> copyBuffer and then write into BytesStore.blocks, which is called in FST 
> initialization read from metaIn. 
> Although, this copy bytes only a few bytes (in the testscase only 3-10 
> bytes), i think we can save this memory copy, just save the 
> DataOutput.copyBytes to create new copyBuffer with 16384 bytes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to