1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Don't use hash table to store 256 pointers.

This commit is contained in:
Bartosz Taudul
2018-06-22 15:14:44 +02:00
parent 55ddb64352
commit cd5ca3e754
2 changed files with 13 additions and 15 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ private:
char* m_buffer;
int m_bufferOffset;
flat_hash_map<uint8_t, GpuCtxData*, nohash<uint8_t>> m_gpuCtxMap;
GpuCtxData* m_gpuCtxMap[256];
flat_hash_map<uint64_t, StringLocation, nohash<uint64_t>> m_pendingCustomStrings;
flat_hash_map<uint64_t, PlotData*, nohash<uint64_t>> m_pendingPlots;
flat_hash_map<uint64_t, uint32_t> m_pendingCallstacks;