3 ms·
Instead of storing the start address of the array, store a suitably offset address, right? That amounts to an addition that has to be performed when memory is a
by Bromskloss 9y ago
Instead of storing the start address of the array, store a suitably offset address, right? That amounts to an addition that has to be performed when memory is allocated to the data structure, which may be at compile-time or at run-time.