1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-16 22:49:59 +00:00

add row filter for string ==

This gets the census `== 'Dawson Creek'` query down to ~410ms from
~650ms.

That still seems much slower than it should be. Am I accidentally
doing a copy? Now to go learn how to profile C++ code...
This commit is contained in:
Colin Dellow
2018-03-15 21:37:52 -04:00
parent 6648ff5968
commit f7f1ed03d1
4 changed files with 68 additions and 12 deletions

View File

@@ -39,10 +39,10 @@ double Constraint::getDouble() {
return doubleValue;
}
const std::vector<unsigned char> Constraint::getBytes() {
const std::vector<unsigned char>& Constraint::getBytes() {
return blobValue;
}
std::string Constraint::getString() {
const std::string& Constraint::getString() {
return stringValue;
}