In large code bases, we are often stuck with unpleasant designs that are harming our performance. We might be looking for a non-intrusive method to improve the performance. For example, you may not want to change the function signatures. Let us consider a concrete example. Maybe someone designed the programming interface so that you have … Continue reading Speeding up C++ functions with a thread_local cache