update readme

master
Avril 4 years ago
parent 007136df26
commit daa4c3b443
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -4,7 +4,7 @@ description = "Small byte-sized generic key-value map type"
keywords = ["map", "table", "small", "key", "value"] keywords = ["map", "table", "small", "key", "value"]
repository = "https://github.com/notflan/smallmap" repository = "https://github.com/notflan/smallmap"
homepage= "https://git.flanchan.moe/flanchan/smallmap" homepage= "https://git.flanchan.moe/flanchan/smallmap"
version = "1.1.2" version = "1.1.3"
authors = ["Avril <flanchan@cumallover.me>"] authors = ["Avril <flanchan@cumallover.me>"]
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"

@ -47,13 +47,14 @@ Some crude and basic benchmarks
| `HashMap` | 16 | | `HashMap` | 16 |
| `smallmap::Map` | 7 | | `smallmap::Map` | 7 |
## Iterating a string's chars and counting each ## Iterating a string's chars and counting each
| Which | ns/iter | | Which | ns/iter (entry) | ns/iter (get/insert) |
|-----------------|---------| |-----------------|-----------------|----------------------|
| `HashMap` | 8,418 | | `HashMap` | 8,418 | 8,367 |
| `BTreeMap` | 9,742 | | `BTreeMap` | 9,742 | 6,329 |
| `smallmap::Map` | 4,416 | | `smallmap::Map` | 4,416 | 1,739 |
## u8 ## u8
| Which | ns/iter | | Which | ns/iter |

Loading…
Cancel
Save