Closed MaxOhn closed 11 months ago
Boxes most fields of (optional) type User(Extended), Beatmap(Extended), and Beatmapset(Extended). This causes more allocations but reduces struct sizes significantly and thus reduce the allocation sizes.
User(Extended)
Beatmap(Extended)
Beatmapset(Extended)
___Without boxes:___ Score: 2840 Beatmap: 512 BeatmapExtended: 1584 Beatmapset: 408 BeatmapsetExtended: 1376 ___With boxes:___ Score: 168 Beatmap: 112 BeatmapExtended: 216 Beatmapset: 408 BeatmapsetExtended: 680
Boxes most fields of (optional) type
User(Extended)
,Beatmap(Extended)
, andBeatmapset(Extended)
. This causes more allocations but reduces struct sizes significantly and thus reduce the allocation sizes.