[alsa-devel] [PATCH] snd_usb_caiaq: use likely()/unlikely()

Adrian Bunk bunk at kernel.org
Sat Apr 12 22:21:27 CEST 2008

On Sat, Apr 12, 2008 at 10:13:31PM +0200, Daniel Mack wrote:
> Use likely() and unlikely() in code which is called regularily.

Does it bring any measurable advantage?

Otherwise it's usually better to let the compiler decide how to optimize 
the code.



       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

More information about the Alsa-devel mailing list