summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-08-09 17:37:15 +0200
committerJosJuice <josjuice@gmail.com>2026-08-22 11:51:48 +0200
commit94070473307b4ded676b97b1a673b496c074cda0 (patch)
tree997267bea65edb9d6619667e05cf81c0886e6911 /Source/Core/DiscIO/VolumeVerifier.cpp
parentd2f7ed3602be867051639dcee2c660a1879d0b97 (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