diff --git a/Cargo.lock b/Cargo.lock index b394c9c..14db26f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,7 +16,7 @@ dependencies = [ [[package]] name = "algorithm" -version = "0.1.15" +version = "0.1.16" dependencies = [ "algorithm-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "hashbrown", diff --git a/Cargo.toml b/Cargo.toml index 4482202..8456645 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["algorithm-macro"] [package] name = "algorithm" -version = "0.1.15" +version = "0.1.16" edition = "2021" authors = ["tickbh "] description = "about algorithm data structure, now has ttl with lru/lru-k/lfu/arc and slab/rbtree/roaring_bitmap/timer_wheelss, 关于算法常用的数据结构" diff --git a/src/timer/timer_wheel.rs b/src/timer/timer_wheel.rs index 10f6ad8..a18b860 100644 --- a/src/timer/timer_wheel.rs +++ b/src/timer/timer_wheel.rs @@ -417,7 +417,6 @@ impl TimerWheel { while !wheel.is_null() { unsafe { (offset, remainder) = (*wheel).update_index(offset, remainder, &mut result); - // println!("offset = {offset} remainder = {remainder}, wheel = {}", (*wheel).name); if offset == 0 { break; }