mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-11 12:00:23 +02:00
As said in the implementation of this struct commit message. This new pair struct optimizes specific cases of small forward only increments that can fit in to 8-bit space, and small forward or backward jump cases that fit in to 16-bit space. Some stats of this change: - Steam: 5.88MB down to 4.34MB. 73.8% the space consumed - Steamwebhelper: 15.8MB down to 13.24MB. 83.8% space consumed - Sonic Mania: 3.6MB down to 2.58MB. 71.6% space consumed As for absolute stats when compared to all code buffer size: - Steam: 86MB of code buffer to 5.88MB -> 4.34MB of RIP reconstruction. - 6.8% -> 5% code buffer space used for RIP reconstruction - Steamwebhelper: 285MB of code buffer to 17MB -> 14.26MB of RIP reconstruction. - 5.9% -> 4.9% code buffer space used for RIP reconstruction - Sonic Mania: 48.53MB of code buffer to 3.55MB -> 2.53MB of RIP reconstruction. - 7.3% -> 5.2% code buffer space used for RIP reconstruction