mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Reserve space for string data.
This commit is contained in:
parent
766bf45a2b
commit
4456c8a454
@ -280,6 +280,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
||||
flat_hash_map<uint64_t, const char*, nohash<uint64_t>> pointerMap;
|
||||
|
||||
f.Read( sz );
|
||||
m_data.stringData.reserve( sz );
|
||||
for( uint64_t i=0; i<sz; i++ )
|
||||
{
|
||||
uint64_t ptr, ssz;
|
||||
|
Loading…
Reference in New Issue
Block a user