
11 Apr
2008
11 Apr
'08
10:28 p.m.
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