3 ms·
If optimization is going to be a concern, the thoughtful choice of the algorithm(s) up front is not "premature". Currently, I'm working on a project with a rin
by chrisbennet 7y ago
If optimization is going to be a concern, the thoughtful choice of the algorithm(s) up front is not "premature".
Currently, I'm working on a project with a ring buffer (a kind of FIFO buffer). It isn't fast (not lockless) but has a well defined interface so I can swap it for fast one later if I need to.