From daa4c3b44361a863e6d687696044c11644e9804f Mon Sep 17 00:00:00 2001 From: Avril Date: Sun, 20 Sep 2020 17:44:17 +0100 Subject: [PATCH] update readme --- Cargo.toml | 2 +- README.md | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 90d796e..7f63f7d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "Small byte-sized generic key-value map type" keywords = ["map", "table", "small", "key", "value"] repository = "https://github.com/notflan/smallmap" homepage= "https://git.flanchan.moe/flanchan/smallmap" -version = "1.1.2" +version = "1.1.3" authors = ["Avril "] edition = "2018" license = "MIT" diff --git a/README.md b/README.md index d71cd1e..d95c907 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,14 @@ Some crude and basic benchmarks | `HashMap` | 16 | | `smallmap::Map` | 7 | + ## Iterating a string's chars and counting each -| Which | ns/iter | -|-----------------|---------| -| `HashMap` | 8,418 | -| `BTreeMap` | 9,742 | -| `smallmap::Map` | 4,416 | +| Which | ns/iter (entry) | ns/iter (get/insert) | +|-----------------|-----------------|----------------------| +| `HashMap` | 8,418 | 8,367 | +| `BTreeMap` | 9,742 | 6,329 | +| `smallmap::Map` | 4,416 | 1,739 | ## u8 | Which | ns/iter |