Claudio Russo

Results 150 issues of Claudio Russo

https://dfinity.slack.com/archives/CPL67E7MX/p1708423047659259

I wonder if these functions: https://github.com/libtom/libtommath/blob/8314bde5e5c8e5d9331460130a9d1066e324f091/tommath.h#L371 could be used to avoid boxing the other argument when one number is big but the other is compact. Would avoid some heap allocation.

opportunity

The primitives could directly return booleans, rather than requiring the additional inequality test against 0 in prim.mo. This would be more efficient and would ensure the Prim.bittest operations are inlined...

performance

CI isn't running our tests anymore. Trying to figure out why

To avoid the current dynamic check on array size. Maybe not worth it.

performance

@letmejustputthishere suggests: for a method like this ``` public query func greet(name : Text) : async Text { return "Hello, " # name # "!"; }; ``` why doesn’t the...

It would be nice to support type fields as well object field in patterns, particularly for pattern matching imports. The second half of https://github.com/dfinity/motoko/issues/2354 https://dfinity.slack.com/archives/CPVUFG8UV/p1702367276374739

feature
enhancement

Two additional tests for @luc-blaeser's graph copying branch (luc/graph-copy), Builds on #4286. - `run-drun/stable-exp-immut.mo` is a version of `stable-exp` that uses immutable arrays, to highlight the sharing of those arrays...

DO-NOT-MERGE

The following Nat64 underflows produce different trap messages ``` actor Echo { public query func substractLargeNat64() : async Nat64 { return 0xFFFF_FFFF_FFFF_FFFE - 0xFFFF_FFFF_FFFF_FFFF; }; public query func substractSmallNat64() :...

Bug
P3