Samuel Ibarra
Samuel Ibarra
MModular
Created by Samuel Ibarra on 11/19/2024 in #questions
What is the difference between fn(inout v: T) and fn(ref v: T) ?
So, when I use inout, the variable should be mutable. Otherwise, I'll get compiler error I guess. But ref can use both mutable and immutable. Is my statement correct?
5 replies
MModular
Created by Samuel Ibarra on 9/27/2024 in #questions
map vs parallelize vs sync_parallelize
Any answers?
3 replies