3 ms·
There are no dynamically sized arrays. All memory is allocated at startup and that's it. This is the reason why you see power of two limits in safety critical
by nabla9 10y ago
There are no dynamically sized arrays. All memory is allocated at startup and that's it.
This is the reason why you see power of two limits in safety critical software. For example "radar is able to track up to 256 simultaneous objects".
for (i = 0; i < 256: i++) {
if (NULL != object[i]) {
// do stuff
}
}