I stumbled upon a peculiar performance issue when running the following c++ code on some Intel Xeon processors:
c++