0.9.5
-
motoko (
moc
)-
Allow identifiers in
or
-patterns (#3807).
Bindings in alternatives must mention the same identifiers and have compatible types:let verbose = switch result { case (#ok) "All is good!"; case (#warning why or #error why) "There is some problem: " # why; }
-
Performance improvement: improved cycle consumption allocating fixed-size objects (#4064).
Benchmarks indicate up to 10% less cycles burned for allocation-heavy code,
and 2.5% savings in realistic applications. -
Administrative: binary build artefacts are now available according to standard naming
conventions (thanks to EnzoPlayer0ne) (#3997).
Please consider transitioning to downloading binaries following the new scheme,
as legacy naming will be discontinued at some point in the future.
-