datrs / flat-tree

Map a binary tree to a vector.
Apache License 2.0
53 stars 10 forks source link

feat: implement needed new utility methods #46

Closed ttiurani closed 1 year ago

ttiurani commented 2 years ago

This implements the methods added recently to the Javascript project:

https://github.com/mafintosh/flat-tree

(All of these methods are needed in the v10 implementation of hypercore.)

The commits can be reviewed one by one, and contain the context.

Bonus: