This is too simplistic example to give any meaningful answer. What’s Type
? What’s value
? If it’s i32
and 42
than they both compile to the exact same thing. But if Type
is Drop
than the second will call the destructor on each iteration. (I’ve also written previously about similar example with BorrowedBuf
^1^).
mina86
joined 4 days ago
Mint is fine. Rather than changing distros, rather keep using it and configuring it the way you want it. For the most part, GNU/Linux is GNU/Linux is GNU/Linux and many popular distributions are largely the same.