Monthly Archives: July 2012

Efficient argument passing in c++11 [via A Sense of Design]

Boris Kolpackov has written a series of 3 articles on the minefield of efficient argument passing in C++11. In part 1 he discusses the addition to C++11 – rvalue references – that improves argument-passing efficiency in some cases, but that … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Why processing a sorted array might be faster than unsorted

I’ve just read this week’s stackoverflow newsletter, and was intrigued by a recent top question “Why is processing a sorted array faster than an unsorted array?” Anyone writing performance-critical processing code should be aware of this; the C++ comparison showed … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment