Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don’t make multiple centroid iterations on the same leaf #48

Open
irevoire opened this issue Dec 26, 2023 · 0 comments
Open

Don’t make multiple centroid iterations on the same leaf #48

irevoire opened this issue Dec 26, 2023 · 0 comments
Labels
indexing Everything related to indexing performance relevancy

Comments

@irevoire
Copy link
Member

let node_k = leafs.choose(rng)?.unwrap();

Here we should remove the selected leaf from the list of possible leafs.
That means, when we have less than 200 leafs to split we can exit early.
It’ll impact relevancy but I’m pretty sure it won’t have a negative impact

@irevoire irevoire added indexing Everything related to indexing performance relevancy labels Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indexing Everything related to indexing performance relevancy
Projects
None yet
Development

No branches or pull requests

1 participant