ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergi Vladykin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2263) Get rid of wrapping views where possible.
Date Wed, 30 Dec 2015 11:42:49 GMT

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

Sergi Vladykin commented on IGNITE-2263:
----------------------------------------

Andrey, I think your statement "using the light-weight views in top of materialized collections
is always superior to doing something like Sergi has suggested" is usually wrong. These views
only make sense when the underlying collection is huge and you neither do iterations over
the resulting view nor get its size. I believe these preconditions are usually not met in
Ignite. So even if we blindly drop every usage of this method, it should give us improvement,
but of course lets keep our eyes open :)

> Get rid of wrapping views where possible.
> -----------------------------------------
>
>                 Key: IGNITE-2263
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2263
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: general
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>            Priority: Critical
>             Fix For: 1.6
>
>
> We have about ~50-100 usages of things like F.view or F.viewReadOnly. In lots cases it
is not necessary, adds garbage, but doesn't add any value. 
> Need to revisit these places.



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

Mime
View raw message