Change clientpackets to std::deque from LinkedList

This should be better performance, but I couldn't really
push local testing to hit the performance issues ...
This commit is contained in:
Michael Cook (mackal)
2017-04-25 02:13:31 -04:00
parent 757c7f5b00
commit 34549a4bdb
2 changed files with 10 additions and 11 deletions
+2 -1
View File
@@ -70,6 +70,7 @@ namespace EQEmu
#include <set>
#include <algorithm>
#include <memory>
#include <deque>
#define CLIENT_TIMEOUT 90000
@@ -1424,7 +1425,7 @@ private:
bool AddPacket(const EQApplicationPacket *, bool);
bool AddPacket(EQApplicationPacket**, bool);
bool SendAllPackets();
LinkedList<CLIENTPACKET *> clientpackets;
std::deque<std::unique_ptr<CLIENTPACKET>> clientpackets;
//Zoning related stuff
void SendZoneCancel(ZoneChange_Struct *zc);