This brings up an important piece of wisdom I see frequently stated and frequently ignored: don&#x27;t micro-optimize until you&#x27;ve measured that you need to.<p>There are obviously exceptions in specific domains, but even in high performance cases it is generally better to optimize once you know where the bottlenecks are in practice.