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



> 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!
> 
> - Jonathan Morton



  reply	other threads:[~2017-11-26 10:03 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 [this message]
2017-11-26 18:19     ` Dave Taht

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=E028C982-F7FF-4633-A68C-2741216F58AE@darbyshire-bryant.me.uk \
    --to=kevin@darbyshire-bryant.me.uk \
    --cc=cake@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    /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