All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.org>
To: Adrian Bunk <bunk@kernel.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] snd_usb_caiaq: use likely()/unlikely()
Date: Sat, 12 Apr 2008 23:01:19 +0200	[thread overview]
Message-ID: <20080412210119.GB13041@buzzloop.caiaq.de> (raw)
In-Reply-To: <20080412202127.GB8849@cs181133002.pp.htv.fi>

Hi,

On Sat, Apr 12, 2008 at 11:21:27PM +0300, Adrian Bunk wrote:
> Does it bring any measurable advantage?
> 
> Otherwise it's usually better to let the compiler decide how to optimize 
> the code.

I didn't really measure, but how should the compiler know how likely a
certain condition in hardware state is? I thought, in such cases it's
generally a good idea to give the compiler some hints.

Daniel

  reply	other threads:[~2008-04-12 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-12 20:13 [PATCH] snd_usb_caiaq: use likely()/unlikely() Daniel Mack
2008-04-12 20:21 ` Adrian Bunk
2008-04-12 21:01   ` Daniel Mack [this message]
2008-04-12 21:38     ` Adrian Bunk

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

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

  git send-email \
    --in-reply-to=20080412210119.GB13041@buzzloop.caiaq.de \
    --to=daniel@caiaq.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=bunk@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.