Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit b99a560

Browse files
committed
CHG: Update README.
1 parent 6e8734c commit b99a560

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ The cache is fixed-size, so if it is full, the oldes key/value pair will be evic
6363
The use of a sequential data storage does have performance impact, especially for key lookup.
6464
That's why this cache will only be beneficial performance-wise when used with a relatively small size, up to about 128 elements.
6565

66-
Run the included benchmarks using `criterion`: `cargo bench`
66+
Run the included benchmarks using [criterion](https://crates.io/crates/criterion) by invoking: `cargo bench`
6767

6868
## TODO
6969

70-
- Extend documentation (on `[no_std`, example, etc.).
71-
- Add `get_or_else` method that can nicely deal with references to cached items instead of being forced to use the cache in an imperative fashion.
70+
- Extend documentation (e.g. on `[no_std]`, examples, etc.).
71+
- Add `get_or_insert_with` method (like [this](https://doc.rust-lang.org/std/option/enum.Option.html#method.get_or_insert_with)) that nicely deals with references to cached items instead of being forced to use the cache in an imperative fashion.
7272
- Improve benchmarks to be more useful and indicative.
7373

7474
## License

0 commit comments

Comments
 (0)