1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2025-01-19 09:31:28 +00:00
Ryujinx/Ryujinx.Memory
riperiperi fff48bb45a
Smaller initial size for ModifiedRangeList & directly inherit range list (#2663)
This fixes a potential regression with the new range list changes, where the cost for creating new ones would be rather large due to creating a 1024 size array. Also reduces cost for range list inheritance by using the first existing range list as a base, rather than creating a new one then adding both lists to it.

The growth size for the RangeList is now identical to its initial size. Every 32 elements was probably a little too common - now it is 1024 for most things and 8 for the buffer modified range list.

The Unmapped and SyncMethod methods have been changed to ensure that they behave properly if the range list is set null. Cleaned up a few calls to use the null-conditional operator.
2021-10-04 15:38:59 -03:00
..
Range Smaller initial size for ModifiedRangeList & directly inherit range list (#2663) 2021-10-04 15:38:59 -03:00
Tracking Replace CacheResourceWrite with more general "precise" write (#2684) 2021-09-29 02:27:03 +02:00
WindowsShared Array based RangeList that caches Address/EndAddress (#2642) 2021-09-19 14:22:26 +02:00
AddressSpaceManager.cs Replace CacheResourceWrite with more general "precise" write (#2684) 2021-09-29 02:27:03 +02:00
InvalidAccessHandler.cs
InvalidMemoryRegionException.cs
IRefCounted.cs
IVirtualMemoryManager.cs Replace CacheResourceWrite with more general "precise" write (#2684) 2021-09-29 02:27:03 +02: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
Ryujinx.Memory.csproj
WritableRegion.cs Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) 2021-07-19 19:10:54 -03:00