Posts

C++ Parallel STL Benchmark

Today, I'm happy to present a guest post from Victor J. Duvanenko about my favorite C++17 feature: the…
sport 659224 1280

C++ Core Guidelines: Improved Performance with Iostreams

/
As easy as my title and the rules of the C++ core guidelines sound, getting more performance out of the…
brno 2783268 1280

C++ Core Guidelines: Avoid Bounds Errors

/
When you access an element outside a container of the STL, the result is not so promising. Your effect…
book 159880 1280

More special Friends with std::map and std::unordered_map

/
Modern C++ has eight associative containers, but your special friends should be std::map and std::unordered_map.…
rules 1752626 1280

C++ Core Guidelines: std::array and std::vector are your Friends

/
In 99 % of your use cases for a sequential container, you are outstanding with a std::array or a std::vector.…
cheetah

C++ Core Guidelines: The Remaining Rules about Performance

/
Today, I will write about the remaining ten rules of performance. Ten rules seem to be a lot, but only…

C++ Core Guidelines: More Rules about Performance

/
In this post, I continue my journey through the rules to performance in the C++ Core Guidelines. …
cheetah

C++ Core Guidelines: Rules about Performance

/
Before I write about the rules of performance, I will do a straightforward job. Accessing the elements…
SingleThreadedAdditionEng

My Conclusion: Summation of a Vector in three Variants

/
After I've calculated in three different ways the sum of a std::vector I want to draw my conclusions.   The…
localVariable

Multithreaded: Summation with Minimal Synchronization

/
Until now, I've used two strategies to summate a std::vector. First, I did the whole math in one thread…