aboutsummaryrefslogtreecommitdiff
path: root/src/common/host_memory.cpp
diff options
context:
space:
mode:
authorSDK-Chan <sdkchan@eden-emu.dev>2025-09-16 19:41:52 +0200
committercrueter <crueter@eden-emu.dev>2025-09-16 19:41:52 +0200
commit3ca0bde0e9c8cc408610b0838aeb4c1fa8aeda64 (patch)
tree4d73ecff3ebcf88804d0c2418cc57b84e8ab13ef /src/common/host_memory.cpp
parent6699361b7e76590409ba973e28978ffe0e9cc143 (diff)
[core/nvnflinger] Rewrite GetBufferHistory (#528)
This rewrite should improve performance with the buffer history by changing the complexity level to O(1). Replace std::vector with std::array to ensure that elements are allocated on the stack rather than on the free store. Avoid expensive resizing at runtime. Adjust buffer states at the right locations. Tightly pack the BufferHistoryInfo struct to ensure that it only occupies 28 bytes. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/528 Co-authored-by: SDK-Chan <sdkchan@eden-emu.dev> Co-committed-by: SDK-Chan <sdkchan@eden-emu.dev>
Diffstat (limited to 'src/common/host_memory.cpp')
0 files changed, 0 insertions, 0 deletions