ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergi Vladykin <sergi.vlady...@gmail.com>
Subject GridFunc.view
Date Tue, 29 Dec 2015 14:05:05 GMT
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