removal of lazy memory allocation
#21
Actually I'm planning to remove the spartial array implementation. However I don't know what to do for the recompiler buffer. I'm not sure that it really helps low mem pc. Anyway I think it can be done with a couple of lines. So it won't become complex.

Trust me debugging is very painful.
Reply

Sponsored links

#22
How much more memory PCSX2 will use without the spatial array implementation? If it's not much, I think you can remove it.
Reply
#23
In theory worst case is 60MB. However in practice it could be 0MB! Kernel might do lazy allocation under the hood. Even if it doesn't, the extra memory will be pushed in the SWAP. So it will likely only cost a second at startup.
Reply
#24
Thank you for the information. In that case, I see no problem in removing it.
Reply
#25
Initial implementation here : https://github.com/PCSX2/pcsx2/pull/967

Actually I mostly keep the lazy allocation, but it is now less painful. You can boot some game without disabling all SIGSEGV exceptions.
Reply




Users browsing this thread: 2 Guest(s)