Comment Comment by Arcten Iterating via reference instead of copy in C++ is a great way to get a speed up with a one character change.I.e. changing for (const MyType v : collection) to for (const MyType& v : collection) parent Arcten 5 years ago
I.e. changing for (const MyType v : collection) to for (const MyType& v : collection)