Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Use binary search in getSeriesIndex 2.0 #658

Closed

Conversation

simonswine
Copy link
Collaborator

@simonswine simonswine commented Apr 26, 2023

This brings back the original pr #621, with the fix for the panic.

It makes the code quite a bit more complicated at best with questionable performance gains.

I have also submitted #659 which adds test cases to cover the actual regression.

@hi-rustin how are you feeling about not merging this

simonswine and others added 2 commits April 26, 2023 16:28
* Use binary search in `getSeriesIndex`
* Now with a fixed behaviour for nil rowRanges and a related test.

Co-authored-by: Rustin <rustin.liu@gmail.com>
@simonswine simonswine changed the title 20230426 bring back binary sort fix Use binary search in getSeriesIndex 2.0 Apr 26, 2023
@Rustin170506
Copy link
Contributor

@hi-rustin how are you feeling about not merging this

Sounds good to me. It does make the code harder to understand.

@simonswine simonswine closed this Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants