8 ms·
On the other hand, it's possible that safe code gives the compiler more guarantees, so it has more room to optimize. Whether your code is safe or unsafe can ha
by wtetzner 7y ago
On the other hand, it's possible that safe code gives the compiler more guarantees, so it has more room to optimize.
Whether your code is safe or unsafe can have a performance impact, but what the impact is depends on the specific situation.