1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 11:10:23 +08:00
Files
osu-lazer/osu.Game
T
Andrei Zavatski 2380fcd36d Reuse existing triangles in Triangles background (#36951)
As [per
comment](https://github.com/ppy/osu/pull/36943#issuecomment-4045361755).
Unfortunately I'm not able to reproduce such a big impact of triangles
using linked pr (or at all really). In my case usage was low in the
first place and went from 0.9% to 0.6% with this pr, so outside
benchmarking would be great

Improvement list:
* No more sorted list. Basic list is being used which is sorted once
after all the triangles added.
* Out-of-bounds triangles are reused rather than removed and re-added.
* On `Reset` if `AimCount` stays the same, all triangles are reused
instead of being cleared and re-added.
2380fcd36d · 2026-03-13 14:54:19 +09:00
History
..
2026-03-07 02:30:50 +09:00
2025-04-28 15:52:31 +09:00
2025-12-29 16:07:14 +09:00
2026-03-07 02:30:50 +09:00
2026-01-13 07:47:25 +03:00
2026-03-07 02:30:50 +09:00
2026-03-03 16:45:15 +09:00