[datatable-help] datatable roll="next" takes 150 times longer than findInterval

Gabor Grothendieck ggrothendieck at gmail.com
Sun Feb 2 13:27:36 CET 2014


The benchmark at the bottom of this post shows a problem where a data.table
roll="next" took nearly 150x longer than a base findInterval() solution.
 (The data.table solution is easier to write though.) This suggests an area
for possible speed improvement.

http://stackoverflow.com/questions/21499742/fast-minimum-distance-interval-between-elements-of-2-logical-vectors-take-2/21500855#21500855

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20140202/339e2573/attachment.html>


More information about the datatable-help mailing list