Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use an unordered_set to track FIFO write adresses
Reduces CheckGatherPipe CPU consumption by 40%.
  • Loading branch information
delroth authored and degasus committed Nov 7, 2013
1 parent 954be9e commit ea6fd58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h
Expand Up @@ -25,7 +25,7 @@
#include "../../HW/GPFifo.h"
#include "../../HW/Memmap.h"

#include <set>
#include <unordered_set>

class JitBase : public CPUCoreBase
{
Expand Down Expand Up @@ -70,7 +70,7 @@ class JitBase : public CPUCoreBase

JitBlock *curBlock;

std::set<u32> fifoWriteAddresses;
std::unordered_set<u32> fifoWriteAddresses;
};

public:
Expand Down

0 comments on commit ea6fd58

Please sign in to comment.