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
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to