1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 15:30:06 +08:00
Files
osu-lazer/osu.Game/Graphics
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
..
2023-06-24 01:00:03 +09:00
2026-03-09 08:22:16 +09:00
2023-06-24 01:00:03 +09:00
2025-10-29 11:51:31 +01:00
2023-06-24 01:00:03 +09:00
2025-04-11 20:13:53 +09:00
2023-06-24 01:00:03 +09:00
2024-07-03 00:19:04 +09:00