Stephen Atherton
|
71ba490cf8
|
Removed use of the C "struct hack" as it is not valid C++. Replaced zero-length members with functions returning a pointer for arrays or a reference for single members.
|
2019-07-02 16:02:58 -07:00 |
Stephen Atherton
|
3e155a2563
|
Bug fixes.
|
2019-05-29 17:38:55 -07:00 |
Stephen Atherton
|
02882dbf00
|
Checkpointing progress, RedwoodRecordRef and DeltaTree tests pass but BTree test does not. RedwoodRecordRef::Delta rewritten to actually do prefix compression on key and integer fields. Added related unit tests and benchmarks. Some improvements to DeltaTree and requirements on its T and Delta types to avoid repeated common prefix discovery.
|
2019-05-29 06:23:32 -07:00 |
Stephen Atherton
|
6660ccd936
|
Large rewrite/refactor from the page format outward. Replaced the in-page format, PrefixTree, with more general and templated implementation of the same concept, DeltaTree, which will be incrementally modifiable soon. New implementation for in-page cursors to use a per-page arena and share decoded binary tree nodes between cursors in the same page. New implementation for internal record B+Tree cursor which uses reference counted path hops which makes cloning a cursor very cheap. New implementation of external facing B+Tree cursor which makes efficient use of two internal cursors to find user-visible KV pairs and return them without copying keys and values except in the case of a large sharded value.
|
2019-02-21 02:46:30 -08:00 |