You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/10/23 10:54:00 UTC
[jira] [Updated] (IGNITE-6703) Unnecessary lookup in
BPlusTree.ForwardCursor.fillFromBuffer for startIdx 0
[ https://issues.apache.org/jira/browse/IGNITE-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-6703:
------------------------------------
Labels: performance (was: )
> Unnecessary lookup in BPlusTree.ForwardCursor.fillFromBuffer for startIdx 0
> ---------------------------------------------------------------------------
>
> Key: IGNITE-6703
> URL: https://issues.apache.org/jira/browse/IGNITE-6703
> Project: Ignite
> Issue Type: Improvement
> Security Level: Public(Viewable by anyone)
> Components: sql
> Reporter: Semen Boikov
> Labels: performance
>
> fillFromBuffer calls findLowerBound if passed startIdx=0, BPlusTree.ForwardCursor.fillFromBuffer can be called in 2 cases:
> 1. When lower bound is not known
> 2. When lower bound is found in BPlusTree.Search. It seems in this case 0 is valid value for startIdx and findLowerBound is not needed in this case.
> I it possible for example to change findLowerBound's contract and use -1 as 'unknown startIdx' value.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)