Optimize world socket buffer handling and logging

This commit is contained in:
Kelsi 2026-02-22 08:16:54 -08:00
parent 9c8cd44803
commit 17a2a1f7ef
2 changed files with 56 additions and 17 deletions

View file

@ -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_;