From 675cbc51ccb4a96f1ae4fcdcb51a6c497970aa6e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 7 Nov 2019 22:34:38 +0100 Subject: [PATCH] Store memory free indices as 32 bit. More than 4 billion memory events seems unlikely. Memory savings in "mem" trace: 5747 MB -> 5427 MB. --- server/TracyEvent.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp index 4b6ec04c..79412874 100644 --- a/server/TracyEvent.hpp +++ b/server/TracyEvent.hpp @@ -508,7 +508,7 @@ struct PlotData struct MemData { Vector data; - Vector frees; + Vector frees; flat_hash_map> active; uint64_t high = std::numeric_limits::min(); uint64_t low = std::numeric_limits::max();