Comment by dgan

Comment by dgan 10 months ago

1 reply

How do you handle runtime - defined sizes then? Just preallocate maximum possible number of bytes?

wheels 10 months ago

Well, usually in a realtime system you're required to produce something in a fixed amount of time. Designing the algorithms to not need variable amounts of memory is one of the challenges. Commonly you can have a buffer that's the largest you could reasonably work on in that time slice.