[ https://issues.apache.org/jira/browse/IGNITE-11223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763869#comment-16763869 ]
Vladimir Ozerov commented on IGNITE-11223: ------------------------------------------ Done. Test run: https://ci.ignite.apache.org/viewQueued.html?itemId=3041116 > SQL: Merge "collectCacheIds" and "processCaches" methods > -------------------------------------------------------- > > Key: IGNITE-11223 > URL: https://issues.apache.org/jira/browse/IGNITE-11223 > Project: Ignite > Issue Type: Task > Components: sql > Reporter: Vladimir Ozerov > Assignee: Vladimir Ozerov > Priority: Major > Fix For: 2.8 > > Time Spent: 10m > Remaining Estimate: 0h > > Both methods are essentially two pieces of the same process - collect cache > IDs for the given query, check MVCC mode. But because they are separated, we > have unnecessary collection copies, "isEmpty" checks and iterations. > Provided that these methods are on a hot path, let's merge them accurately. -- This message was sent by Atlassian JIRA (v7.6.3#76005)