Skip to content

Commit

Permalink
fix: upgrade version to 0.5.3 & fix rust unittest.
Browse files Browse the repository at this point in the history
  • Loading branch information
yankun1992 committed Feb 17, 2023
1 parent 29ff8eb commit 60ffbe3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fastbloom_rs"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
authors = ["Yan Kun <yan_kun_1992@foxmail.com>"]
description = "Some fast bloom filter implemented by Rust for Python and Rust! 10x faster than pybloom!"
Expand Down
2 changes: 1 addition & 1 deletion fastbloom-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fastbloom-rs"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
authors = ["Yan Kun <yan_kun_1992@foxmail.com>"]
description = "Some fast bloom filter implemented by Rust for Python and Rust!"
Expand Down
2 changes: 1 addition & 1 deletion fastbloom-rs/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ fn optimal_test() {
let n = optimal_n(k, m);
let p = optimal_p(k, m, n);
println!("{m} {k} {n} {p}");
assert_eq!(m, 962710784);
assert_eq!(m, 958505856);
assert_eq!(k, 7)
}

Expand Down

0 comments on commit 60ffbe3

Please sign in to comment.