Re: [PATCH] snd_usb_caiaq: use likely()/unlikely()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux