Closed Molth closed 1 month ago
while kcp2k is single-threaded and the peer's config never changes, there is no need to allocate 3 buffers for every peer. when there are many peers, it will result in high memory usage.
each peer saves 298,634 bytes.
while kcp2k is single-threaded and the peer's config never changes, there is no need to allocate 3 buffers for every peer. when there are many peers, it will result in high memory usage.