Code optimization in the past vs now

Content:

Original link: Significant CRC32C Throughput Optimization On The Way To The Linux Kernel / Phoronix.

The world is changing.

When I was young then fast code was manual loop unrolling.

When I was middleaged then fast code was telling the compiler to do loop unrolling.

Today apparently the CPU can predict loops and just do it without any assistance from developer or compiler.

Comments: