perf(network): Improve performance by reducing packet allocations and improving loop logic#2659
perf(network): Improve performance by reducing packet allocations and improving loop logic#2659Caball009 wants to merge 5 commits into
Conversation
7ebd8f1 to
a2267a1
Compare
|
I think it would be nice if we can change the signature of NetPacket from |
Perhaps I can just put the relevant logic from |
I think it's best to do this in a separate pull request because it involves another set of changes. |
3fe1916 to
d4f75e9
Compare
This PR makes modest performance improvements in the networking code by reducing the number of dynamic
NetPacketallocations and breaking out loops as early as possible.See commits for cleaner diffs.
TODO:
NetPacketmemory pooled. -> This can be dealt with in a separate PR.