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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17528176#comment-17528176 ] 

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

Commit 9abec89045c3e67e7ada59531fe7fff26214cd53 in lucene's branch refs/heads/branch_9x from xiaoping
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=9abec89045c ]

LUCENE-10499: reduce unnecessary copy data overhead when growing array size (#786)

Co-authored-by: xiaoping.wjp <xi...@alibaba-inc.com>

> 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
>          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