mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Optimize world socket buffer handling and logging
This commit is contained in:
parent
9c8cd44803
commit
17a2a1f7ef
2 changed files with 56 additions and 17 deletions
|
|
@ -91,6 +91,7 @@ private:
|
|||
|
||||
// Receive buffer
|
||||
std::vector<uint8_t> receiveBuffer;
|
||||
size_t receiveReadOffset_ = 0;
|
||||
// Optional reused packet queue (feature-gated) to reduce per-update allocations.
|
||||
std::vector<Packet> parsedPacketsScratch_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue