1.0.4 • Published 1 year ago

prolly-trees v1.0.4

Weekly downloads
-
License
(Apache-2.0 AND M...
Repository
github
Last release
1 year ago

Prolly Trees

Implementation of peer-to-peer search trees (probabalistic b-trees trees) as used in dolt and noms.

While this library has 100% test coverage and is relatively stable, it's not recommended for broad use. The implementation internals are all very exposed and have not been properly documented. Without thorough documentation there's a lot of mistakes consumers will make regarding caching and block storage.

Some time in the near future I will fully document the library.

Notes

This is just an implementation of the trees. It does not have an opinion about how blocks are encoded and hashed. The tests use a dag-cbor IPLD encoder, and the library is typically encoded into IPLD in other libraries.

ranges

Range queries match >= the start key and < the end key.

In other words, ranges do not include matches against the end key but do match against the start key. This is so that more advanced range queries can be built with only appending to keys rather than needing to do more advanced key modifications to reduce the closing match.

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

0.2.1

1 year ago

0.2.6

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.1.0

2 years ago

0.2.0

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago

0.0.0-dev

2 years ago