1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-30 09:06:01 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Time/TimeZone
jhorv 23c844b2aa
Misc performance tweaks (#4509)
* use Array.Empty() where instead of allocating new zero-length arrays

* structure for loops in a way that the JIT will elide array/Span bounds checking

* avoiding function calls in for loop condition tests

* avoid LINQ in a hot path

* conform with code style

* fix mistake in GetNextWaitingObject()

* fix GetNextWaitingObject() possibility of returning null if all list items have TimePoint == long.MaxValue

* make GetNextWaitingObject() behave FIFO behavior for multiple items with the same TimePoint
2023-03-11 17:05:48 -03:00
..
Types timezone: Fix regression caused by #3361 (#3418) 2022-06-24 21:11:56 +02:00
TimeZone.cs Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
TimeZoneContentManager.cs Misc performance tweaks (#4509) 2023-03-11 17:05:48 -03:00
TimeZoneManager.cs infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00