motoko-base
motoko-base copied to clipboard
The Motoko base library
The problematic use case for this data structure is a poor hash function with many unequal keys whose hashes are all equal for some reason. In these cases, the data...
`share`/`unshare` function for `RBTree`, `HashMap` and `Buffer`. This is useful for supporting upgrade, which only works for shareable types.
This PR creates the raw structure for pulling the base library auto-generated doc into the main doc navigation. - I used the current script to generate the adoc - I...
TDL: - [ ] Port over useful functions from buffer module - [ ] Unify variable naming and type parameters with buffer module
Heap version of: https://github.com/dfinity/motoko-base/pull/429 First merge review/polish/merge #429.
Work by @Sardariuss AKA Tanguy on a clone of [StableBTreeMap implementation in rust](https://github.com/dfinity/stable-structures). Related to [bounty](https://forum.dfinity.org/t/icdevs-org-bounty-24-stablebtree-mokoko-up-to-10k/14867/15) by ICDevs. See the original work here: https://github.com/sardariuss/MotokoStableBTree The goal here is to provide...
Update `moc` to 0.7.0 The put; delete functions do not work; (TrieSet) I made a correction by referring directly to the Trie. Look maybe these are all the fixes that...
See also [`BTree` forum discussion.](https://forum.dfinity.org/t/motoko-b-tree-for-efficient-ordered-key-value-data/13028)
This allows it to iterate returning ?Nat instead of ?Int so it can be used in arrays. As range starts at Nat I figured that negative numbers weren't that important...