Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't put in ringbuffer data that could be sent directly. #37
Here is some micro optimization. I have written it in hope to decrease latency but this does not work. However, it increases performances by about 6% on my benchmarks. Maybe this is not worth introducing such optimizations (and I am not sure this is correct, for example SSL_write could trigger a new handshake and in this case, I hope that the next SSL_write will still trigger it).