Skip to content

Commit

Permalink
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tantivy"
version = "0.4.0-alpha"
version = "0.4.0"
authors = ["Paul Masurel <paul.masurel@gmail.com>"]
build = "build.rs"
license = "MIT"
@@ -26,7 +26,7 @@ tempdir = "0.3"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
bincode = "0.7.0-alpha7"
bincode = "0.8"
libc = {version = "0.2.20", optional=true}
num_cpus = "1.2"
itertools = "0.5.9"
6 changes: 3 additions & 3 deletions src/datastruct/stacker/hashmap.rs
Original file line number Diff line number Diff line change
@@ -235,9 +235,9 @@ mod tests {

#[test]
fn test_hashmap_size() {
assert_eq!(split_memory(100_000), (83_616, 8));
assert_eq!(split_memory(1_000_000), (868_928, 11));
assert_eq!(split_memory(10_000_000), (8_820_352, 13));
assert_eq!(split_memory(100_000), (67232, 9));
assert_eq!(split_memory(1_000_000), (737856, 12));
assert_eq!(split_memory(10_000_000), (7902848, 15));
}


0 comments on commit 76e07b9

Please sign in to comment.