Boost logo

Boost :

From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-04-11 18:28:39


The overhead of the runtime checks is usually most critical in
operations on vectors; however, vector elements are sequential in
memory and in performance-critical parts of the code it is trivial to
use pointers instead of vector iterators. I would much rather do that
instead of relying on the compiler to get it right, regardless of
whether runtime checks are enabled or not.

At the same time, I do like the runtime checks in contexts that are
not performance-critical.

-- 
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk