itertools
packagefunc
produces colnames, respect them.Try using data.table to add indices on all subsetting columns.
Cartesian product may be much larger than is "necessary": i.e. redundant columns
Is there a way to do this that cuts down search time with each additional variable?
Try out memoization. Store results comparisons so that items matching A == 'X' are maintained.
Remove use of rbind()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.