mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-14 18:18:55 -06:00
Previously when we had an ordered (set/map) prolly tree containing non-ordered values (blobs/refs/etc), we'd put the ref of the largest value in each meta node, complete with its full type info and height. This is wasteful, all we really need is the hash of the largest item for searching the tree. In lieu of encoding just the hash - which isn't a value - this patch creates a fake Ref<Boolean> with height 0.
HR
This is a small command line application that manages a very simple hypothetical hr database.
Usage
go build
./hr -ds /tmp/my-noms::hr add-person 42 Abigail Architect
./hr -ds /tmp/my-noms::hr add-person 43 Samuel "Chief Laser Operator"
./hr -ds /tmp/my-noms::hr list-persons