mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add new methods to ruleset for quicker mod lookups
This commit is contained in:
@ -39,5 +39,11 @@ namespace osu.Game.Benchmarks
|
||||
{
|
||||
ruleset.GetAllMods().Consume(new Consumer());
|
||||
}
|
||||
|
||||
[Benchmark]
|
||||
public void BenchmarkGetAllModsForReference()
|
||||
{
|
||||
ruleset.GetAllModsForReference().Consume(new Consumer());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user