Use an unordered_set to track FIFO write adresses

Reduces CheckGatherPipe CPU consumption by 40%.
This commit is contained in:
Pierre Bourdon 2012-08-25 02:19:19 +02:00 committed by degasus
parent 954be9e2d9
commit ea6fd58b97
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
#include "../../HW/GPFifo.h"
#include "../../HW/Memmap.h"
#include <set>
#include <unordered_set>
class JitBase : public CPUCoreBase
{
@ -70,7 +70,7 @@ protected:
JitBlock *curBlock;
std::set<u32> fifoWriteAddresses;
std::unordered_set<u32> fifoWriteAddresses;
};
public: