Closed adamlofts closed 7 years ago
Would be nice to have a LevelIterator<K, V>. I think this requires either
LevelIterator<K, V>
(1) Generic methods: https://chromium.googlesource.com/external/github.com/dart-lang/dev_compiler/+/refs/heads/master/doc/GENERIC_METHODS.md or (2) Making LevelDB<K, V>
LevelDB<K, V>
Presumably if (2) then keyEncoding and valueEncoding would move into the LevelDB constructor. This would restrict DB updates to one encoding.
Working on generic branch. Waiting on resolution of https://github.com/dart-lang/sdk/issues/29349
generic
Fixed in 9cd851f
Would be nice to have a
LevelIterator<K, V>
. I think this requires either(1) Generic methods: https://chromium.googlesource.com/external/github.com/dart-lang/dev_compiler/+/refs/heads/master/doc/GENERIC_METHODS.md or (2) Making
LevelDB<K, V>
Presumably if (2) then keyEncoding and valueEncoding would move into the LevelDB constructor. This would restrict DB updates to one encoding.