Closed jbowes closed 10 years ago
Rather than allocate new buffers for every frame, reuse buffers for frame start and frame end. Directly pass the caller's buffer to socket write instead of copying it first.
In my testing, this results in a 33% speedup for message sends.
oops, might be something wrong with this. closing while i investigate.
Rather than allocate new buffers for every frame, reuse buffers for frame start and frame end. Directly pass the caller's buffer to socket write instead of copying it first.
In my testing, this results in a 33% speedup for message sends.