Hello data.tablers, <br><div class="gmail_quote">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<br><br>setkey(DT,x,y)<br>DT[J('A',23),] <=> DT[x=='A' & y==23] #but binary search is much faster for big/large tables<br>
<br>But does it work with "OR" ??<br>There is a post on SO along those lines <a href="http://stackoverflow.com/questions/15597971/can-we-do-binary-search-in-data-table-with-or-select-queries" target="_blank">http://stackoverflow.com/questions/15597971/can-we-do-binary-search-in-data-table-with-or-select-queries</a><br>
What about a feature request ?<br><br>Cheers<br>Colin<br>
</div><br>