3 ms·
> don't squash the indices into the correct range when they are incremented, but when they are used to index into the array. Great! Just don't use it if the in
by kazinator 10y ago
> don't squash the indices into the correct range when they are incremented, but when they are used to index into the array.
Great! Just don't use it if the indices are N bits wide and the array has 2N elements. :)
Not unheard of. E.g. tiny embedded system. 8 bit variables, 256 element buffer.