1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-5199 This patch solves the overal performance degradation introduced with a new way of char columns hashing

in aggregation code
The patch disables padding that forces hasher to calculate over the whole 2k buffer. This patch also moves hashing code
into the common place where it belongs.
This commit is contained in:
Roman Nozdrin
2022-08-16 20:04:09 +00:00
parent 20f57b713a
commit 72e264e8ef
5 changed files with 126 additions and 88 deletions

View File

@ -66,6 +66,13 @@ class ConstString
}
return *this;
}
ConstString& rtrimSpaces()
{
for (; mLength && mStr[mLength - 1] == ' '; --mLength)
{
}
return *this;
}
};
} // namespace utils