Mathieu

Results 193 comments of Mathieu

@FriendlyLifeguard is on it, i've been discussing via dm

From feedthefed > Pls note that SAFE DISPATCHERS DON'T WORK ON TESTNET/MAINNET (yet)! > ATM, an internal call can't return Err(_), as this is not handled by the sequencer and...

2.6.0 is not out (it's a rc), wait for the official release and release notes

relevant pages: https://doc.rust-lang.org/stable/book/ch06-03-if-let.html I could see both `if let` and `while let` fit in here

lol, i just noticed this is an infinite loop. Indeed it's better to use strict equality checks - provided that i is increased by incrementation of ones.

@feltroidprime do you want to write a section about gas golfing in Cairo (1)?

> whereas numbers equality costs 2 steps, and zero checks ==0 or !=0 cost 1 step. Honestly, given all the overhead that the sierra abstractions imposes, I don't even think...

Will be for chapter advanced cairo, probably gas optimizations