ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergi Vladykin <sergi.vlady...@gmail.com>
Subject Re: GridFunc.view
Date Tue, 29 Dec 2015 14:12:34 GMT
Cool :)

Sergi

2015-12-29 17:08 GMT+03:00 Vladimir Ozerov <vozerov@gridgain.com>:

> I created ticket for this several days ago:
> https://issues.apache.org/jira/browse/IGNITE-2263
>
> On Tue, Dec 29, 2015 at 5:05 PM, Sergi Vladykin <sergi.vladykin@gmail.com>
> wrote:
>
> > Guys,
> >
> > We have quite a few usages of *F.view* in the project. I believe this
> thing
> > is usually harmful for performance and correctness. Better thing would
> look
> > like:
> >
> >
> > *Collection filter(Collection src, CollectionFactory dstFactory,
> > IgnitePredicate p)*
> > For example it is used in *GridDiscoveryManager.nodes* method which is
> > called almost from everywhere.
> >
> > I think we have to try dropping it and look at performance. If the impact
> > will be positive, then
> > it makes sense to look at other F.view* methods.
> >
> > Sergi
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message