Skip to content

Commit

Permalink
remove this
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Feb 22, 2025
1 parent 34197e7 commit 27343ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gix-odb/src/store_impls/dynamic/load_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ impl super::Store {

// Figure out this number based on what we see while handling the existing indices
let mut num_loaded_indices = 0;
dbg!(indices_by_modification_time.len());
for (index_info, mtime) in indices_by_modification_time.into_iter().map(|(a, b, _)| (a, b)) {
match idx_by_index_path.remove(index_info.path()) {
Some(slot_idx) => {
Expand Down Expand Up @@ -295,7 +296,7 @@ impl super::Store {
.map_or(0, |idx| (idx + 1) % self.files.len());
let mut num_indices_checked = 0;
let mut needs_generation_change = false;
dbg!(idx_by_index_path.len());
dbg!(index_paths_to_add.len(), next_possibly_free_index);
let mut slot_indices_to_remove: Vec<_> = idx_by_index_path.into_values().collect();
while let Some((mut index_info, mtime, move_from_slot_idx)) = index_paths_to_add.pop_front() {
'increment_slot_index: loop {
Expand Down

0 comments on commit 27343ea

Please sign in to comment.