4 ms·
then he should test it against ringbuffers, IMHO.
by codesnik 4y ago
then he should test it against ringbuffers, IMHO.
- rurban 4y agoringbuffers are just needed for concurrent access or tiny/static ram/kernels. his tests are just simple ordinary perf tests for the cost of pointer chasing. That's why deques were invented, to give you the best of both. Similar to a B-Tree.