17ย years ago
Highlights
Community contributions featuredHas anyone mentioned yet that iterating over a vector with iterators is faster than by index? It's the same as using the incrementing pointer optimisation for looping over memorโฆ
17ย years ago
17ย years ago
Hey, I'm writing a template function that takes a predicate but I want to invert the logic of the predicate. I have something like this: template<typename Predicate> boolโฆ
17ย years, 3ย months ago
Hey everyone, I've googled a bit etc and haven't found a solution to this - how do you rotate a point around the origin elliptically? I'm cool with ordinary circular rotations,โฆ
17ย years, 4ย months ago
If the code in the try block throws an exception for fairly trivial reasons (eg. for file-not-found or something), then catching it and simply moving on to try something elโฆ
17ย years ago
Latest Activity
See all in DiscussionsHas anyone mentioned yet that iterating over a vector with iterators is faster than by index? It's the same as โฆ
17ย years ago
If the code in the try block throws an exception for fairly trivial reasons (eg. for file-not-found or something), then โฆ
17ย years ago
Quote:Original post by lougv22I have not actually profiled the loop. I am basically optimizing it as I go. ALARM BELLS โฆ
17ย years, 1ย month ago