From ea6fd58b978e80b8d5e00158ecdb4c227abd05eb Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 25 Aug 2012 02:19:19 +0200 Subject: [PATCH] Use an unordered_set to track FIFO write adresses Reduces CheckGatherPipe CPU consumption by 40%. --- Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h b/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h index 2beb58d0d6..b133da0fdd 100644 --- a/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h +++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h @@ -25,7 +25,7 @@ #include "../../HW/GPFifo.h" #include "../../HW/Memmap.h" -#include +#include class JitBase : public CPUCoreBase { @@ -70,7 +70,7 @@ protected: JitBlock *curBlock; - std::set fifoWriteAddresses; + std::unordered_set fifoWriteAddresses; }; public: