
19 May
2009
19 May
'09
12:01 a.m.
AMDG vicente.botet wrote:
I don't think there is nothing wrong, just that copying sub-arrays of the same size, with the size known staticaly, can be improbed respect to std::copy. The assignement operator for arrays of equal size can use this static information, but the std::copy can not because it is based on iterators. Of course when the size is know at runtime std::copy is the good option.
Whatever happened to inlining and compiler optimizations? Have you actually measured any difference? In Christ, Steven Watanabe