News for hackers. Stuff that matters.
Re:The time complexity of the libc++ deque push_front implem... by dan-robertson on Sunday November 28, 2021 @09:26AM (#29369132)
HFT needn’t mean low latency is required but of course the two tend to be related.

If trivial allocations might cost you a microsecond then you can’t allocate at all on a latency-sensitive critical path and should probably get a better allocator. Also, be wary of power-of-two sized things because if they are aligned they are likely to have poor cache performance (too many things compete for the same set of cache lines).

There are no comments on this comment yet.