DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Does bulk memmove speed up std::remove_if? (No.)

Quality: 8/10 Relevance: 9/10

Summary

The article compares two approaches to std::remove_if in C++ (smooth vs chunky) and includes benchmark results. It concludes that the chunky approach generally underperforms, especially for short runs, and discusses how cache and branch-prediction effects influence performance more than naive memmove benefits.

🚀 Service construit par Johan Denoyer