ryujinx/Ryujinx.Memory
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
..
Range Array based RangeList that caches Address/EndAddress (#2642) 2021-09-19 14:22:26 +02:00
Tracking Ensure that all threads wait for a read tracking action to complete. (#2597) 2021-08-29 16:03:41 -03:00
WindowsShared Array based RangeList that caches Address/EndAddress (#2642) 2021-09-19 14:22:26 +02:00
AddressSpaceManager.cs Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) 2021-07-19 19:10:54 -03:00
InvalidAccessHandler.cs
InvalidMemoryRegionException.cs
IRefCounted.cs
IVirtualMemoryManager.cs Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) 2021-07-19 19:10:54 -03:00
IWritableBlock.cs Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) 2021-07-19 19:10:54 -03:00
MemoryAllocationFlags.cs
MemoryBlock.cs
MemoryConstants.cs
MemoryManagement.cs
MemoryManagementUnix.cs
MemoryManagementWindows.cs
MemoryNotContiguousException.cs
MemoryPermission.cs
MemoryProtectionException.cs
NativeMemoryManager.cs
PageTable.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
Ryujinx.Memory.csproj
WritableRegion.cs Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) 2021-07-19 19:10:54 -03:00