Use explicit enum IndexValue with the DiskIndexEntry and MemIndexEntry variants, instead of encoding index values in memory with ValueRef.
As a further optimisation, we could even make struct Indexer generic and parameterise it with either DiskIndexEntry or MemIndexEntry when creating a Store.
Tested with SurrealDB with cargo make ci-api-integration-surrealkv.
Use explicit
enum IndexValue
with theDiskIndexEntry
andMemIndexEntry
variants, instead of encoding index values in memory withValueRef
.As a further optimisation, we could even make
struct Indexer
generic and parameterise it with eitherDiskIndexEntry
orMemIndexEntry
when creating a Store.Tested with SurrealDB with
cargo make ci-api-integration-surrealkv
.