The idea of coding IN operator with a short list on the RHS as an OR expression

turns out to be helpful.  If the list is of length 1 or 2, the OR expression
is very slightly faster, but the ephemeral table approach is clearly better for
all list lengths greater than 2.  Better to keep the code simple.

FossilOrigin-Name: e13175d3579e1045165bab091b3b28951d691704
This commit is contained in:
drh
2014-08-01 15:34:36 +00:00
parent 3a85625d87
commit e80c9b9ad5
4 changed files with 13 additions and 26 deletions
+1 -1
View File
@@ -1 +1 @@
ee0fd6aaf94cda1dce3fe752bfe3b0f83e0043f1
e13175d3579e1045165bab091b3b28951d691704