3 ms·
For reference, a lot of embedded programmers still use static allocations only, not even trusting heap allocations at all. Took awhile to get used to, but it i
by com2kid 13y ago
For reference, a lot of embedded programmers still use static allocations only, not even trusting heap allocations at all.
Took awhile to get used to, but it is a damned fine way to avoid memory leaks of any kind!
But even that aside, if you are writing something like a render loop with hard timing guarantees, (or anything else with timing needs!) having non-deterministic allocation costs can easily blow your cycle budget.