Would be nice to keep the list and the progress on github.<div>Other might pitch in and help out, I am also interested, just don't know how much time I can spend on it.</div><div><br></div><div>Kind regards,</div><div>
<br></div><div>Willem</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 15, 2012 at 3:24 PM, Romain Francois <span dir="ltr"><<a href="mailto:romain@r-enthusiasts.com" target="_blank">romain@r-enthusiasts.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 15/11/12 14:52, Hadley Wickham a écrit :<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
R<br>
utilisateur     système      écoulé<br>
       0.338       0.024       0.362<br>
R (second time)<br>
utilisateur     système      écoulé<br>
       0.262       0.000       0.262<br>
match_ manual Rcpp<br>
utilisateur     système      écoulé<br>
       0.144       0.000       0.144<br>
match__ internal Rcpp<br>
utilisateur     système      écoulé<br>
       0.134       0.000       0.133<br>
</blockquote>
<br>
Nice!<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Worth noting that the R version gets better the second time. I guess R keeps<br>
its hash table somewhere.<br>
</blockquote>
<br>
Hmmm - see <a href="http://cran.r-project.org/web/packages/fastmatch/index.html" target="_blank">http://cran.r-project.org/web/<u></u>packages/fastmatch/index.html</a><br>
</blockquote>
<br></div>
Ouch. Simon wins:<br>
<br>
                  expr      min        lq    median        uq      max<br>
1  fmatch(xx, letters)  59.4727  60.29989  74.18049  77.94288 112.2938<br>
2 match__(xx, letters) 137.3878 137.77486 138.33766 152.14018 193.3748<br>
3  match_(xx, letters) 147.7115 148.36442 149.20221 162.82343 171.3181<br>
4   match(xx, letters) 288.4345 293.10380 294.58833 296.26125 333.1210<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hadley<br>
<br>
PS.  Would you be interested in a set of R functions that from a quick<br>
skim of the R sources that I think could be much much faster if<br>
implemented in Rcpp?<br>
</blockquote>
<br></div>
Sure. Time I have available will decide what I do of the list ^^.<div class="im HOEnZb"><br>
<br>
-- <br>
Romain Francois<br>
Professional R Enthusiast<br>
<a href="tel:%2B33%280%29%206%2028%2091%2030%2030" value="+33628913030" target="_blank">+33(0) 6 28 91 30 30</a><br>
<br>
R Graph Gallery: <a href="http://gallery.r-enthusiasts.com" target="_blank">http://gallery.r-enthusiasts.<u></u>com</a><br>
`- <a href="http://bit.ly/SweN1Z" target="_blank">http://bit.ly/SweN1Z</a> : SuperStorm Sandy<br>
<br>
blog:            <a href="http://romainfrancois.blog.free.fr" target="_blank">http://romainfrancois.blog.<u></u>free.fr</a><br>
|- <a href="http://bit.ly/RE6sYH" target="_blank">http://bit.ly/RE6sYH</a> : OOP with Rcpp modules<br>
`- <a href="http://bit.ly/Thw7IK" target="_blank">http://bit.ly/Thw7IK</a> : Rcpp modules more flexible<br>
<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org" target="_blank">Rcpp-devel@lists.r-forge.r-<u></u>project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-<u></u>project.org/cgi-bin/mailman/<u></u>listinfo/rcpp-devel</a><br>
</div></div></blockquote></div><br></div>