Skip to content

Commit

Permalink
Fixed conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
josephg committed Aug 3, 2024
2 parents 95bee2d + 738d3c1 commit 81ebcea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/listmerge/advance_retreat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl M2Tracker {
// span state as an integer and just decrement it twice.
while !range.is_empty() {
if let Some(mut cursor) = self.range_tree.try_find_item(range.start) {
crate::stats::marker_a();
// crate::stats::marker_a();


// Try just modifying the item directly.
Expand All @@ -110,7 +110,7 @@ impl M2Tracker {
self.range_tree.emplace_cursor_unknown(cursor);

} else {
crate::stats::marker_b();
// crate::stats::marker_b();

let QueryResult {
target,
Expand Down Expand Up @@ -155,6 +155,7 @@ impl M2Tracker {
pub(crate) fn advance_by_range(&mut self, range: DTRange) {
self.adv_retreat_range(range, 1);
}

pub(crate) fn retreat_by_range(&mut self, range: DTRange) {
self.adv_retreat_range(range, -1);
}
Expand Down

0 comments on commit 81ebcea

Please sign in to comment.