Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cevian committed Jan 24, 2024
1 parent 67afbb0 commit 242ae9b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions timescale_vector/src/access_method/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,6 @@ impl<QDM, PD> ListSearchResult<QDM, PD> {

/// Internal function
pub fn insert_neighbor(&mut self, n: ListSearchNeighbor<PD>) {
/*if let Some(max_size) = self.max_history_size {
if self.best_candidate.len() >= max_size {
let last = self.best_candidate.last().unwrap();
if n >= self.candidate_storage[*last] {
//n is too far in the list to be the best candidate.
return;
}
self.best_candidate.pop();
}
}*/

self.candidates.push(Reverse(n));
}

Expand Down

0 comments on commit 242ae9b

Please sign in to comment.