uge"><div class="highlight"><pre class="highlight"><code><span class="c1">// computes search twice</span>
<span class="k">if</span> <span class="p">(</span><span class="n">reallySlowSearch</span><span class="p">(</span><span class="n">term</span><span class="p">)</span> <span class="o">&gt;=</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
    <span class="n">remove</span><span class="p">(</span><span class="n">reallySlowSearch</span><span class="p">(</span><span class="n">t