On Sep 25, 2020, at 3:13 PM, Todd C. Miller <[email protected]> wrote: > > On Fri, 25 Sep 2020 13:58:01 -0500, Scott Cheloha wrote: > >> `found' serves as a boolean here. I'd prefer to simple and set it to >> 1 instead of incrementing it when we find what we're looking for. > > Makes sense to me, the use of var++ instead of var=1 is old-school > style ;-)
There are still some architectures where an increment vs. an immediate load is a shorter instruction, but I strongly suspect the performance difference (where there even is one) is not worth the unclarity here. - Dave
