[ 
https://issues.apache.org/jira/browse/IGNITE-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Ozerov updated IGNITE-6703:
------------------------------------
    Component/s: sql

> 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)

Reply via email to