Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/attribute_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ const AttributePair& AttributePairStore::getPairUnsafe(uint32_t i) const {
thread_local uint64_t tlsPairLookups = 0;
thread_local uint64_t tlsPairLookupsUncached = 0;

thread_local std::vector<const AttributePair*> cachedAttributePairPointers(64);
thread_local std::vector<uint32_t> cachedAttributePairIndexes(64);
thread_local std::vector<const AttributePair*> cachedAttributePairPointers(256);
thread_local std::vector<uint32_t> cachedAttributePairIndexes(256);
uint32_t AttributePairStore::addPair(AttributePair& pair, bool isHot) {
if (isHot) {
{
Expand Down Expand Up @@ -300,8 +300,8 @@ void AttributeSet::finalize() {

// Remember recently queried/added sets so that we can return them in the
// future without taking a lock.
thread_local std::vector<const AttributeSet*> cachedAttributeSetPointers(64);
thread_local std::vector<AttributeIndex> cachedAttributeSetIndexes(64);
thread_local std::vector<const AttributeSet*> cachedAttributeSetPointers(256);
thread_local std::vector<AttributeIndex> cachedAttributeSetIndexes(256);

thread_local uint64_t tlsSetLookups = 0;
thread_local uint64_t tlsSetLookupsUncached = 0;
Expand Down
Loading