Closed vsenko closed 4 years ago
@skip2, is there anything I can do to facilitate the merge?
Hi vsenko, I've been running this optimisation in production for a week, and it works great. Thanks very much for the tests, I tried them on the previous version to check the improvement was happening.
thanks very much. skip2
I'm glad to be helpful.
Thank you too!
Sometimes mixed encoding is less efficient than encoding everything as a single byte segment due to additional segments headers.
This pull request adds a switch to a single byte encoded segment in cases where it is suitable. Tests are adjusted as long as they contained samples that are smaller when encoded as single segments.