<p>Okay, this is ready to go.  It'll need to be merged manually but that is no problem...</p>

<p>Here are some benchmarks as measured by mlpack_lsh on both the old and the new version.  The results are significant enough I didn't bother with more than one trial or tuning parameters.</p>

<p>corel.csv: hash building: 0.474s -&gt; 0.293s, computing neighbors 28.057s -&gt; 5.832s<br>
isolet.csv: hash building 0.614s -&gt; 0.517s, computing neighbors 0.776s -&gt; 0.565s<br>
covertype.csv: hash building 5.173s -&gt; 6.215s, computing neighbors 1739.332s -&gt; 1172.641s<br>
phy.csv: hash building 2.074s -&gt; 1.823s, computing neighbors 167.203s -&gt; 51.062s<br>
pokerhand.csv: hash building 0.329s -&gt; 0.212s, computing neighbors 1.101s -&gt; 0.737s<br>
miniboone.csv: hash building 1.311s -&gt; 1.429s, computing neighbors 51.144s -&gt; 25.309s</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/675#issuecomment-224779262">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFBr5eXPc4BGtILh8ntpE5IHopZ-Yks5qJ22BgaJpZM4IuAcT">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPB0O3sFcDQoMEUedT4VdQ5HZuVuks5qJ22BgaJpZM4IuAcT.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/675#issuecomment-224779262"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>