MCPcopy Create free account
hub / github.com/ImageEngine/cortex / numUniqueStrings

Method numUniqueStrings

src/IECore/InternedString.cpp:191–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191size_t InternedString::numUniqueStrings()
192{
193 Detail::Mutex::scoped_lock lock( *Detail::mutex(), false ); // read-only lock
194 Detail::HashSet *hashSet = Detail::hashSet();
195 return hashSet->size();
196}
197
198static InternedString g_emptyString("");
199

Callers 1

testMethod · 0.80

Calls 3

mutexFunction · 0.85
hashSetFunction · 0.70
sizeMethod · 0.45

Tested by 1

testMethod · 0.64