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