Hi Igniters, I've found that ScanQuery iterates over partitions in non-optimal way. It uses KeyIterator which gets value for each key via call to cache map. I made a try to replace KeyIterator with EntryIterator to avoid cache map lookups and got significant speed up, about 30%.
Is there some reason to use KeyIterator for this or some other use cases? I've created a ticket [1] with patch and test attached. [1] https://issues.apache.org/jira/browse/IGNITE-4624 Regards.
