<p>Hi, I use boost::spirit to implement the csv parser, it is more memory efficient and faster</p>

<p>spirit version : </p>

<p>transpose : 2151 msec<br>
non transpose : 4073 msec       </p>

<p>old version : </p>

<p>transpose : 9616 msec<br>
non transpose : 10131 msec</p>

<p>non transpose version is slower, I guess it is because arma::Mat is column wise.</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/660#issuecomment-223770866">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFOm4hm4jRISFK1e21bFWTrDdJl5tks5qIcTIgaJpZM4Iq0a1">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFKMBGIj4GWxmIb3TkGrVIuZ8R1Tzks5qIcTIgaJpZM4Iq0a1.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/660#issuecomment-223770866"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>