1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-03 06:03:51 +00:00
Bartosz Taudul a15a287a6b Don't over-allocate vectors, when exact needed size is known.
This reduces memory usage when loading saved traces. Memory usage
reduction observed on a selected number of traces:

5625.76 MB -> 5330.29 MB
3292.94 MB -> 2978.66 MB
632.77 MB  -> 479.58 MB
681.32 MB  -> 506.27 MB
11.9 GB    -> 11.22 GB
854.21 MB  -> 806.17 MB
10.57 GB   -> 7175.31 MB
67.38 MB   -> 66.63 MB
2026.12 MB -> 1744.2 MB
86.55 MB   -> 85.57 MB
343.64 MB  -> 244.81 MB
201.93 MB  -> 162.25 MB
2018-08-09 19:41:15 +02:00
..
2018-05-03 17:56:43 +02:00
2017-10-10 21:56:15 +02:00
2017-10-10 21:56:15 +02:00
2018-08-04 21:10:45 +02:00
2018-08-08 19:25:13 +02:00