 class="line-numbers-rows"><a href="#C3_L1" id=C3_L1></a><a href="#C3_L2" id=C3_L2></a><a href="#C3_L3" id=C3_L3></a><a href="#C3_L4" id=C3_L4></a><a href="#C3_L5" id=C3_L5></a><a href="#C3_L6" id=C3_L6></a><a href="#C3_L7" id=C3_L7></a></span></code></pre>
<p>Interestingly, this pattern holds true for many other types of work.
Essentially, batching similar work allows for better pipelining, and further optimization.</p>
<p>Let's look at a similar example that is optimized in Ember, starting with a <code>Us