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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user