ros and cons of the described approach?</p>
<p><strong>Pros:</strong></p>
<ul>
<li>
<p>Low latency capabilities</p>
</li>
<li>
<p>Tailored solution with potential use-case specific optimizations</p>
</li>
<li>
<p>Efficient state reuse (shared state for the rules with the same key)</p>
</li>
</ul>
<p><strong>Cons:</strong></p>
<ul>
<li>
<p>Cannot make use of potential future optimizations in the existing
Window API</p>
</li>
<li>
<p>No late event handling, which is available out of the box in the
Window API<