
2 Feb
2012
2 Feb
'12
10:02 a.m.
Den 01-02-2012 18:02, Mathias Gaunard skrev:
On 02/01/2012 04:39 PM, Beman Dawes wrote:
A question came up in a long bikeshed discussion on a C++ committee mailing list as to the performance of range based interface versus a begin/end iterator interface (I.E. traditional STL interface) to the same algorithms.
It's exactly the same performance, because a range is just a pair of begin/end iterators and all the code is implemented using the iterators.
I have to say, I haven't compared the generated assembler. -Thorsten