[datatable-help] Fwd: Does it worth a feature request ?
stat quant
statquant at outlook.com
Mon Mar 25 09:52:15 CET 2013
Hello data.tablers,
I am aware of binary search using J in data.table selects, this works for
"AND" if your table is keyed by 2 columns like
setkey(DT,x,y)
DT[J('A',23),] <=> DT[x=='A' & y==23] #but binary search is much faster for
big/large tables
But does it work with "OR" ??
There is a post on SO along those lines
http://stackoverflow.com/questions/15597971/can-we-do-binary-search-in-data-table-with-or-select-queries
What about a feature request ?
Cheers
Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20130325/ff2a3480/attachment.html>
More information about the datatable-help
mailing list