Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Two-Way for finding the delimiter in DelimiterBasedFrameDecoder (#…
…13451) Motivation: We were using the naive and inefficient O(nm) algorithm here. Modification: Remove the naive algorithm and instead call out to the optimised Two-Way search we already have in ByteBufUtil. Result: The DelimiterBasedFrameDecoder now searches for delimiters using the fastest algorithm available to us. Fixes #13313
- Loading branch information