Avoid row filter check when no constraints
The function call overhead is expensive! This makes count(*) on the census data 175ms instead of 225ms, while not significantly impacting other use cases.
This commit is contained in:
parent
84a22e6e77
commit
b774973852
|
@ -706,7 +706,7 @@ start:
|
||||||
|
|
||||||
rowsLeftInRowGroup--;
|
rowsLeftInRowGroup--;
|
||||||
rowId++;
|
rowId++;
|
||||||
if(!currentRowSatisfiesFilter())
|
if(constraints.size() > 0 && !currentRowSatisfiesFilter())
|
||||||
goto start;
|
goto start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue