MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / initCompareFuncs

Method initCompareFuncs

src/processor/result/base_hash_table.cpp:287–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287void BaseHashTable::initCompareFuncs() {
288 compareEntryFuncs.reserve(keyTypes.size());
289 for (auto i = 0u; i < keyTypes.size(); ++i) {
290 compareEntryFuncs.push_back(getCompareEntryFunc(keyTypes[i]));
291 ftCompareEntryFuncs.push_back(getFactorizedTableCompareEntryFunc(keyTypes[i]));
292 }
293}
294
295void BaseHashTable::initTmpHashVector() {
296 hashState = std::make_shared<DataChunkState>();

Callers

nothing calls this directly

Calls 5

getCompareEntryFuncFunction · 0.85
reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected