MaxOhn / rosu-pp

PP and star calculation for all osu! gamemodes
MIT License
84 stars 39 forks source link

perf!: store HitObjectKind::Slider fields in Box #26

Closed MaxOhn closed 12 months ago

MaxOhn commented 12 months ago

Reduces the size of HitObjectKind by 16 bytes, shrinking HitObject's size from 88 bytes down to 72. This reduces the amount of allocated space for hit objects in a Beatmap.

A quick benchmark also showed an improvement in parsing performance of 1.01 +- 0.03.