You've already forked mariadb-columnstore-engine
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:
@ -66,6 +66,13 @@ class ConstString
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
ConstString& rtrimSpaces()
|
||||
{
|
||||
for (; mLength && mStr[mLength - 1] == ' '; --mLength)
|
||||
{
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace utils
|
||||
|
Reference in New Issue
Block a user