diff options
| author | JosJuice <josjuice@gmail.com> | 2026-08-09 17:37:15 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2026-08-22 11:51:48 +0200 |
| commit | 94070473307b4ded676b97b1a673b496c074cda0 (patch) | |
| tree | 997267bea65edb9d6619667e05cf81c0886e6911 /Source/Core/DiscIO/VolumeVerifier.cpp | |
| parent | d2f7ed3602be867051639dcee2c660a1879d0b97 (diff) | |
Jit: Use LazyMemoryRegion-backed bit sets
JitCache has been using a class called ValidBlockBitSet. This commit
replaces it with a new class called LazyMemoryRegionBitSet, which works
similarly but is backed by a LazyMemoryRegion, letting us skip
allocating memory for parts of the bit set that correspond to emulated
memory regions where the game isn't storing any code. I have also added
optimized functions for setting or clearing long runs of bits.
Additionally, this commit replaces JitBase's three std::unordered_sets
that are keeping track of instructions with LazyMemoryRegionBitSets.
Here the benefit is more speed than memory usage. This improves NBA Live
2005's menu performance by 1% or so in SuperSamus's testing.
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
0 files changed, 0 insertions, 0 deletions
