accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1309) IntersectingIterator.addSource has unecessary object creation
Date Thu, 31 Oct 2013 17:31:19 GMT

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

ASF subversion and git services commented on ACCUMULO-1309:
-----------------------------------------------------------

Commit b0da55a65ef9be755fa49cf2ea199ccc7c44c0bf in branch refs/heads/master from [~billie.rinaldi@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=b0da55a ]

ACCUMULO-1309 deprecated unused addSource method


> IntersectingIterator.addSource has unecessary object creation
> -------------------------------------------------------------
>
>                 Key: ACCUMULO-1309
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1309
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: John Vines
>            Assignee: Billie Rinaldi
>             Fix For: 1.6.0
>
>
> Taken from TODOs-
> II uses a static array for holding sources and resizes +1 each time it fills. It would
be better off as a List or something along those lines to prevent a lot of unnecessary object
creation.
> Additionally, every time is does migrate to a new static array, it creates a new copy
of the contained objects.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message