<div>Hello list,</div><div> </div><div>Looking at fastmatch and fasttime, I realized that those package consists solely in 1 C file (each).</div><div>We spoke about the possibility to add those to data.table, I tried to contact S.Urbanek without any success so I do not have feedback from his side.</div>
<div>Using fastPOSIXct provide a huge gain when one have to load files with datetime, on my laptop using data.table:::fread, I realized that most of the time is spent casting datetimes to POSIXct (I have several columns).</div>
<div> </div><div>Looking at fasttime, you can see pretty good improvement (factor 15)</div><div> </div><div>R) ts <- as.character(.POSIXct(runif(1e6) * unclass(Sys.time())))<br>R)   system.time(a <- as.POSIXct(ts, "GMT"))<br>
utilisateur     système      écoulé <br>       6.49        0.04        6.57 <br>R)   system.time(b <- fastPOSIXct(ts, "GMT"))<br>utilisateur     système      écoulé <br>       0.40        0.00        0.41 </div>
<div> </div><div>When colClasses will be implemented in fread, can I suggest to allow using fasttime as an option ?</div><div>Concerning fastmatch, the vignette already shows some nice benchmarks, I tend to do a lot of selects based on string columns, not sure if this is the case for most of us.</div>
<div> </div><div>My 0.002 cent</div><div>Cheers</div>