Seems pretty reasonable to me, but there is probably a way
why clone the Strings?
rabble rabble ownership rabble rabble borrowing
the thing is, std::env::args() already returns you an iterator over owned strings, so you don't need to clone them
I got a compilation error (idk why) but it says there was an ownership issue. I removed it later and it worked, it was probably another issue
Clone still cloning causes performance issues
(I don't actually develop anything in Rust)
Am just saying cloning causes performance issues
https://cesarvr.io/post/rust-performance/
Обсуждают сегодня