[ https://issues.apache.org/jira/browse/IGNITE-9890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16663525#comment-16663525 ]
Ignite TC Bot commented on IGNITE-9890: --------------------------------------- {panel:title=No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} [TeamCity Run All Results|http://ci.ignite.apache.org/viewLog.html?buildId=2155600&buildTypeId=IgniteTests24Java8_RunAll] > Refactor CachePartitionPartialCountersMap#fromCountersMap, no need to sort > partitions any time it called. > --------------------------------------------------------------------------------------------------------- > > Key: IGNITE-9890 > URL: https://issues.apache.org/jira/browse/IGNITE-9890 > Project: Ignite > Issue Type: Improvement > Components: general > Affects Versions: 2.6 > Reporter: Stanilovsky Evgeny > Assignee: Vladislav Pyatkov > Priority: Minor > Fix For: 2.8 > > > {code:java} > CachePartitionPartialCountersMap#fromCountersMap{code} > we need to store sorted partitions forĀ > {code:java} > partitionIndex(int partId) {return Arrays.binarySearch{code} > method. Hope need some refactoring here, no need to sort it any time it > called, we just need to store already sorted collection here. -- This message was sent by Atlassian JIRA (v7.6.3#76005)