1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-16 23:23:22 +03:00

fix(perf): add reserves for usage of vector filled after creation

This commit is contained in:
Leonid Fedorov
2025-10-23 14:49:17 +00:00
committed by Leonid Fedorov
parent 87bdc5fcb0
commit 7d23514315
29 changed files with 220 additions and 14 deletions

View File

@@ -155,6 +155,7 @@ int ExtentStripeAlloc::allocateExtent(OID oid, uint16_t dbRoot,
fLog->logMsg(oss1.str(), MSGLVL_INFO2);
std::vector<BRM::CreateStripeColumnExtentsArgIn> cols;
cols.reserve(fColOIDs.size());
std::vector<BRM::CreateStripeColumnExtentsArgOut> extents;
for (unsigned int j = 0; j < fColOIDs.size(); ++j)