2 ms·
Yes, you could trust in the CPU's branch prediction and the optimizer getting smarter in the future, or you could do the thing that's not only more self-documen
by Arnavion 5y ago
Yes, you could trust in the CPU's branch prediction and the optimizer getting smarter in the future, or you could do the thing that's not only more self-documenting (Vec == need to read the code to notice it never grows, array == obviously fixed size) but also guaranteed to work already.