[zeromq-dev] STL use in zeromq

Pieter Hintjens ph at imatix.com
Fri Oct 29 12:07:04 CEST 2010


2010/10/29 Mikael Helbo Kjær <mhk at designtech.dk>:

> I've been taught to use the Erase-Remove idiom, but maybe the call overhead is higher than I think or there is another reason....

You may be right but the only proper way to judge is to test the real
performance of different approaches.  It's fairly simple: do 1M or 10M
or 100M iterations of different approaches and see how long they take.

-
Pieter Hintjens
iMatix - www.imatix.com



More information about the zeromq-dev mailing list