Hello, On Sat, Oct 16, 2021 at 10:21:03AM +0200, Morten Brørup wrote: > I have given this some more thoughts. > > Most bytes transferred in real life are transferred in large packets, > so faster processing of large packets is a great improvement! > > Furthermore, a quick analysis of a recent packet sample from an ISP > customer of ours shows that less than 8 % of the packets are odd size. > Would you consider adding an unlikely() to the branch handling the odd > byte at the end?
sure, I don't see a problem with adding unlikely() there. I'll post a version 2 of that patch then, tomorrow. Best regards Georg -- "No one can write decently who is distrustful of the reader's intelligence, or whose attitude is patronizing." (William Strunk, Jr. and E.B. White, The Elements of Style, p. 70, 1959)