1
0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2025-01-14 12:51:57 -08:00
Ryujinx/Ryujinx.Input.SDL2
jhorv 23c844b2aa
Misc performance tweaks ()
* 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
..
2022-05-15 13:30:15 +02:00