grin/chain
hashmap 2397407dc4
Always return a typed structure from lmdb store (#3312)
We have a method get which returns a Vec, it's used in cases when we can't implement FromLmdbBytes or Readable on a desired type, eg when both traits and type are external for the current crate. This approach requires an extra allocation of a Vec, this PR introduces a method which accepts desirialzer as closure, which allows to desrialize in place without an intermidiate heap allocation.

It's still possible to get a Vec if needed, just pass a Vec constructor to get_with.
2020-05-05 11:00:23 +02:00
..
src Always return a typed structure from lmdb store (#3312) 2020-05-05 11:00:23 +02:00
tests cleanup weird egde_bits handling in tests (#3316) 2020-05-04 12:40:16 +01:00
Cargo.toml Use croaring-mw with 'compat' feature (#3274) 2020-03-23 21:12:58 +01:00