Daily Shaarli

All links of one day in a single page.

December 6, 2013

Micro SD → SSD - Imgur
thumbnail

Make a SSD with micro sd !

Intel i7 loop performance anomaly

Recently I’ve been doing some benchmarking and came upon a very surprising behavior from a number of different Intel i7 CPUs (it manifests on Sandy Bridge and Haswell desktop-class CPUs as well as Sandy Bridge-EP Xeon CPUs).

The cost of dynamic (virtual calls) vs. static (CRTP) dispatch in C++

That article mentioned runtime performance as the main reason for employing CRTP instead of the more traditional runtime polymorphism (dispatch via virtual functions). While some rationale for the cost of virtual calls was given, I didn’t go too deep into it.