Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Dave Taht <dave@taht.net>
To: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Cc: Jonathan Morton <chromatix99@gmail.com>,
	Cake List <cake@lists.bufferbloat.net>
Subject: Re: [Cake] RFC: allocate without the gotos
Date: Sun, 26 Nov 2017 10:19:43 -0800	[thread overview]
Message-ID: <873750x5q8.fsf@nemesis.taht.net> (raw)
In-Reply-To: <E028C982-F7FF-4633-A68C-2741216F58AE@darbyshire-bryant.me.uk> (Kevin Darbyshire-Bryant's message of "Sun, 26 Nov 2017 10:03:16 +0000")

Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> writes:

>> On 26 Nov 2017, at 10:00, Jonathan Morton <chromatix99@gmail.com> 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
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake

      reply	other threads:[~2017-11-26 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-26  9:54 Kevin Darbyshire-Bryant
2017-11-26 10:00 ` Jonathan Morton
2017-11-26 10:03   ` Kevin Darbyshire-Bryant
2017-11-26 18:19     ` Dave Taht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873750x5q8.fsf@nemesis.taht.net \
    --to=dave@taht.net \
    --cc=cake@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    --cc=kevin@darbyshire-bryant.me.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox