<blockquote>
<p>I think, it would be reasonable to use constexpr if the initialization is time-consuming at runtime or if we could evaluate an expression at compile time. But that's not the case here</p>
</blockquote>

<p>I have different opinion about this one, I think it is reasonable to change it from const to constexpr because</p>

<p>1 : It may(not will) help the compiler generate better binary, smaller and faster<br>
2 : It is not premature optimization, because changing from const to constexpr do not seem like adding any burden on the programmers</p>

<p>These are what I think about, just take it as reference.</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 or <a href="https://github.com/mlpack/mlpack/pull/612#issuecomment-209293655">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFKjffqTmJXDxxptfgCQjs8q7ydR8ks5p3KPagaJpZM4IFRuV.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/612#issuecomment-209293655"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>