3 ms·
A return means copying that value on the stack and depending on its size, it can be expensive. In this case we're talking about a matrix, so that's not just one
by bad_user 10y ago
A return means copying that value on the stack and depending on its size, it can be expensive. In this case we're talking about a matrix, so that's not just one 32 or 64 bytes pointer.