Ryujinx
Ryujinx copied to clipboard
Optimize string memory usage. Use Spans and StringBuilders where possible
Just a bunch of low-hanging fruits. This PR replaces substring usages with span slices where possible so it will not allocate in this places. It also introduces StringBuilder in a shader code generator which for some reason uses dumb string concatenations instead. But I think maybe it needs to be benchmarked anyway.
Download the artifacts for this pull request:
- ryujinx-Release-1.1.0+dd12bea-linux_x64
- ryujinx-Release-1.1.0+dd12bea-osx_x64
- ryujinx-Release-1.1.0+dd12bea-win_x64
Experimental GUI (Avalonia)
GUI-less (SDL2)
Only for Developers
- ava-ryujinx-Debug-1.1.0+dd12bea-linux_x64
- ava-ryujinx-Debug-1.1.0+dd12bea-osx_x64
- ava-ryujinx-Debug-1.1.0+dd12bea-win_x64
- ryujinx-Debug-1.1.0+dd12bea-linux_x64
- ryujinx-Debug-1.1.0+dd12bea-osx_x64
- ryujinx-Debug-1.1.0+dd12bea-win_x64
- sdl2-ryujinx-headless-Debug-1.1.0+dd12bea-linux_x64
- sdl2-ryujinx-headless-Debug-1.1.0+dd12bea-osx_x64
- sdl2-ryujinx-headless-Debug-1.1.0+dd12bea-win_x64