Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 31, 2022 9:55 UTC (Mon) by NYKevin (subscriber, #129325)In reply to: Handling argc==0 in the kernel by anselm
Parent article: Handling argc==0 in the kernel
I would bet that there was somebody who insisted that one or the other of those loops was 2% faster on architecture X (for some value of X), and therefore demanded that it be allowed.
I would tend to assume that the int loop is marginally easier to branch-predict? But I'm somewhat skeptical that that was relevant on the hardware of the time...
