Skip Navigation

Which is faster?

let mut variable: Type;
loop {
    variable = value;
}

or

loop {
    let variable: Type = value;
}
12

You're viewing a single thread.

12 comments
12 comments