2 ms·
Yep. In essentially every language there's a reasonably efficient way to do it in one or two lines at most. It's really not much noise, and it serves as (mecha
by Groxx 4y ago
Yep. In essentially every language there's a reasonably efficient way to do it in one or two lines at most.
It's really not much noise, and it serves as (mechanically checked!) documentation of the expected size of a loop. In some ways that's an improvement, since it's just a loopy assert.