ryujinx/Ryujinx.Input.SDL2
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
..
Ryujinx.Input.SDL2.csproj infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
SDL2Gamepad.cs
SDL2GamepadDriver.cs Misc performance tweaks (#4509) 2023-03-11 17:05:48 -03:00
SDL2Keyboard.cs
SDLKeyboardDriver.cs