Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add compile time selection for copying data with specialised paths #9331
This improves the performance of IStream/MemoryStream most where the effect is most prominent with the recently introduced gamestate snapshots system.
openrct2 host parks/bpb.sv6:
This should also affect other areas where those functions are used, there are 280~ references to Read/ReadValue and 110~ references to Write/WriteValue
Result of doing
I love how you managed to squeeze out more FPS, even though OpenRCT2 went through a lot of optimisations already.