You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/02/25 12:04:44 UTC

[GitHub] [ignite-3] tkalkirill commented on a change in pull request #684: IGNITE-16453 Try to optimize IgniteLongList

tkalkirill commented on a change in pull request #684:
URL: https://github.com/apache/ignite-3/pull/684#discussion_r814714358



##########
File path: modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/tree/BplusTree.java
##########
@@ -4550,10 +4551,10 @@ public long pollFreePage() {
                 return 0L;
             }
 
-            if (freePages.getClass() == IgniteLongList.class) {
-                IgniteLongList list = ((IgniteLongList) freePages);
+            if (freePages.getClass() == LongArrayList.class) {

Review comment:
       I think reference equality is used here for better performance, I need to think about the queue.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org