Use 4MB cache size instead of 1MB
This commit is contained in:
@@ -61,7 +61,7 @@ private:
|
||||
void WriteCntpctHandler(ModuleDestLabel module_dest, oaknut::XReg dest_reg);
|
||||
|
||||
private:
|
||||
static constexpr size_t CACHE_SIZE = 1024; // Cache size for patch entries
|
||||
static constexpr size_t CACHE_SIZE = 4096; // Cache size for patch entries
|
||||
LRUCache<uintptr_t, PatchTextAddress> patch_cache{CACHE_SIZE};
|
||||
|
||||
void BranchToPatch(uintptr_t module_dest) {
|
||||
|
||||
Reference in New Issue
Block a user