You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments