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

Store TextData pointer as an index in array.

This further reduces ZoneEvent size by 4 bytes.
This commit is contained in:
Bartosz Taudul
2017-10-22 16:40:15 +02:00
parent 2e6350877d
commit cc8683a399
4 changed files with 64 additions and 55 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ struct ZoneEvent
int8_t cpu_start;
int8_t cpu_end;
TextData* text;
int32_t text;
Vector<ZoneEvent*> child;
};