Hi, David Laight <David.Laight@xxxxxxxxxx> writes: > From: Felipe Balbi >> Sent: 06 April 2016 14:25 >> If we _know_ length is 0, we can just return 1 early. > > Does that happen often enough to be an optimisation? > Looks like a mispredicted branch to me. it's not optimizing, it's cleaning it up. Code looks a little clearer. -- balbi
Attachment:
signature.asc
Description: PGP signature