MaxOhn / rosu-pp

PP and star calculation for all osu! gamemodes
MIT License
85 stars 40 forks source link

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

Closed MaxOhn closed 1 year ago

MaxOhn commented 1 year 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.