Re: [PATCH BlueZ] mesh: Correctly generate NetKey list

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

 



On 01/09, Stotland, Inga wrote:
> Well, shift is a less expensive operation than a division (I believe,
> some compilers may substitute integer division by 2 with a shift).

So leave this to the compiler. In 99.999% cases it knows better.

http://www.linux-kongress.org/2009/slides/compiler_survey_felix_von_leitner.pdf slide 36

-- 
Michał Lowas-Rzechonek <michal.lowas-rzechonek@xxxxxxxxxxx>
Silvair http://silvair.com
Jasnogórska 44, 31-358 Krakow, POLAND



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux