3 ms·
It depends on the workload. If you have some tight loop that's heavy on computations and memory accesses then the borrow checker will allow you get some huge wi
by SkiFire13 3y ago
It depends on the workload. If you have some tight loop that's heavy on computations and memory accesses then the borrow checker will allow you get some huge wins by removing allocations and improving memory locality. If instesd you're writing some IO heavy application then the overhead of allocations will be minimal compared to the IO you're doing, so the borrow checker wins will be really minimal, or Rust might even be slower due to the runtime not being built into the language.