ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2505) IgniteTxImplicitSingleStateImpl#allEntries() and #writes() instantiate new collection on every call
Date Wed, 02 Mar 2016 18:12:18 GMT

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

Alexey Goncharuk commented on IGNITE-2505:
------------------------------------------

Looks good. Please go ahead and merge.

> IgniteTxImplicitSingleStateImpl#allEntries() and #writes() instantiate new collection
on every call
> ---------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-2505
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2505
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: general
>    Affects Versions: 1.5.0.final
>            Reporter: Ilya Lantukh
>            Assignee: Vladimir Ozerov
>            Priority: Critical
>             Fix For: 1.6
>
>
> It can be optimized by creating and storing Collections.singletonList() on #addEntry()
call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message