Vector Class Discussion

valarray class
Author:  Date: 2014-04-09 13:55
Thanks for the reply.

I have seen that answer in my search for a faster container, along with a few others. I've also done a lot of testing with std::vector, std::valarray, dynamic arrays (new[]), and all of the analogous boost containers that match. I really didn't notice any significant speed (when applying a single function to all of the elements) increase between any of the contiguous memory based containers. In fact, the valarray was often a few percent slower than its counterparts.

 
thread valarray class new - Kyle Bentley - 2014-04-07
last replythread valarray class new - Agner - 2014-04-08
last replythread valarray class - Kyle Bentley - 2014-04-09
last reply valarray class new - Agner - 2014-04-10