motoko-base
motoko-base copied to clipboard
The Motoko base library
Due to the Message Queue Limit on subnets and canisters, the operation of the contract will be blocked. But the developer can't know when this limit is triggered by the...
Extends #516 with an example stable-region-based data structure, for "stable buffers" that 1. grow one blob at a time and 2. blob can reappear within a buffer later without taking...
Just saw that `Float.equal()` was deprecated, and was wondering what the language-level tolerance/limits of float equality are. How precise will the language go, and are there any guidelines that can...
The current implementation seems to be creating a lot of individual leafs on the heap that are structurally all the same (`#leaf`). There could be one static `let leaf_ =...
Possible improvements for `RBTree`: * Reduce garbage creation, especially during reading functions, such as `get()` and iteration. * More efficient `size()` function.
Array append is a useful function, and so should not be deprecated. Documentation still includes warning of its linear complexity and suggestions to use a buffer instead.