0.8.4
-
motoko (
moc)-
Performance improvement: UTF-8 coding and validation is now properly tail recursive (#3842).
-
Performance improvement: eliminated bounds checking for certain array accesses (thanks to nomeata) (#3853).
-
Performance improvement: optimized
{array, blob, text}.size()operations (thanks to nomeata) (#3863). -
Performance improvement: efficient tuple results in
switchstatements (thanks to nomeata) (#3865). -
Performance improvement: more efficient untagging operation (#3873).
-
bugfix: restored a grammar regression caused by
let-else(#3869).
-
-
motoko-base
-
Add
Array.subArrayfunction (caffeinelabs/motoko-base#445). -
BREAKING CHANGE (Minor)
Optimized
AssocList.{replace, find}to avoid unnecessary allocation (caffeinelabs/motoko-base#535, caffeinelabs/motoko-base#539).
Note: this subtly changes the order in which the key-value pairs occur after replacement. May affect other containers that useAssocList. -
Performance improvement: Optimized deletion for
Trie/TrieMap(caffeinelabs/motoko-base#525).
-