Kevin Darbyshire-Bryant <[email protected]> writes:

>> On 26 Nov 2017, at 10:00, Jonathan Morton <[email protected]> wrote:
>> 
>> On a purely theoretical basis, it probably isn't as fast, because now the
>> 'found' condition has to be tested multiple times on the fast and slow paths
>> alike.  Only if the compiler is smart enough to transform it back the way it
>> was…
> It was done as a ‘for sh*ts’n’giggles’ exercise….which is probably why I 
> haven’t even tried compiling it :-)
>> 
>> ...and IMHO the goto version is easier to read too.
> I definitely agree with that!

gotos we stick with, then.

>> 
>> - Jonathan Morton
>
>
> _______________________________________________
> Cake mailing list
> [email protected]
> https://lists.bufferbloat.net/listinfo/cake
_______________________________________________
Cake mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cake

Reply via email to