<p>Thanks, this is a nice improvement.  <code>NumDescendants()</code> isn't used everywhere---I can only see its use in some situations for range search, tree-based k-means, and rank-approximate nearest neighbor search.  Still, it is good for <code>NumDescendants()</code> to be quick. :)</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/711#issuecomment-229388811">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFOZbsMsN33UjC6hll2aVwdDdOgKGks5qQowegaJpZM4JBBu4">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFIWGyt892bhn0MvmHxpPmcVUHuWMks5qQowegaJpZM4JBBu4.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/711#issuecomment-229388811"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>