<blockquote>
<p>If we can find some way to only include boost::spirit inside of the implementation of LoadCSV,</p>
</blockquote>

<p>Up until last night I think this is possible if I provide most of the overload of primitive type users would use(int, float, double,size_t and so on), but now I do not think so, because <a href="https://github.com/mlpack/mlpack/pull/694" class="issue-link js-issue-link" data-url="https://github.com/mlpack/mlpack/issues/694" data-id="160089603" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#694</a> do some change on DatasetMapper, now you can customize the mapping behavior of it(one more template parameters) , there are too many combinations in this case.</p>

<p>I guess we should try another solution if spirit would slow down the times so much. <a href="https://github.com/ben-strasser/fast-cpp-csv-parser">This project</a> looks promise, I would test performance first, if it is good, then I will study the codes and adapt it to fit the need of mlpack.</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/681#issuecomment-230381118">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFHmc28TwX2kfXGsMgpbL575s2SQhks5qSdB1gaJpZM4Iu08I">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFHxUjMfaz_nZ0VVaQ-5krcxJUA_9ks5qSdB1gaJpZM4Iu08I.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/681#issuecomment-230381118"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>