Ryujinx/Ryujinx.Memory/WindowsShared
riperiperi 7379bc2f39
Array based RangeList that caches Address/EndAddress (#2642)
* Array based RangeList that caches Address/EndAddress

In isolation, this was more than 2x faster than the RangeList that checks using the interface. In practice I'm seeing much better results than I expected. The array is used because checking it is slightly faster than using a list, which loses time to struct copies, but I still want that data locality.

A method has been added to the list to update the cached end address, as some users of the RangeList currently modify it dynamically.

Greatly improves performance in Super Mario Odyssey, Xenoblade and any other GPU limited games.

* Address Feedback
2021-09-19 14:22:26 +02:00
..
EmulatedSharedMemoryWindows.cs Array based RangeList that caches Address/EndAddress (#2642) 2021-09-19 14:22:26 +02:00
PlaceholderList.cs Array based RangeList that caches Address/EndAddress (#2642) 2021-09-19 14:22:26 +02:00
WindowsFlags.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00