You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2022/04/26 13:44:00 UTC

[jira] [Resolved] (LUCENE-10499) reduce unnecessary copy data overhead when grow array size

     [ https://issues.apache.org/jira/browse/LUCENE-10499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-10499.
-----------------------------------
    Fix Version/s: 9.2
       Resolution: Fixed

Thanks [~wjp719]!

> reduce unnecessary copy data overhead when grow array size
> ----------------------------------------------------------
>
>                 Key: LUCENE-10499
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10499
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: jianping weng
>            Priority: Major
>             Fix For: 9.2
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> ArrayUtil#grow will copy origin array data to the new array after growing size in default, but in many places, the new array needn't the origin data. we should reduce the extra copy data overhead



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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