2 ms·
...and if you don't care about the oldest items being discarded, you can just continue writing and 'push the tail forward', e.g. a ringbuffer is perfect when yo
by flohofwoe 2y ago
...and if you don't care about the oldest items being discarded, you can just continue writing and 'push the tail forward', e.g. a ringbuffer is perfect when you need to record a continuous stream of values, but only ever need to access the last N values.