Quantcast
Viewing latest article 1
Browse Latest Browse All 12

Answer by mathengineer for Why are elementwise additions much faster in separate loops than in a combined loop?

It may be old C++ and optimizations. On my computer I obtained almost the same speed:

One loop: 1.577 ms

Two loops: 1.507 ms

I run Visual Studio 2015 on an E5-1620 3.5 GHz processor with 16 GB RAM.


Viewing latest article 1
Browse Latest Browse All 12

Trending Articles