lkml.org 
[lkml]   [2014]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/11] use ether_addr_equal_64bits
    On Mon 2013-12-30 19:14:56, Julia Lawall wrote:
    > Ether_addr_equal_64bits is more efficient than ether_addr_equal, and can be
    > used when each argument is an array within a structure that contains at
    > least two bytes of data beyond the array.

    I mean, yes, it is probably faster, and yes, most structures probably
    contain two more bytes, but... is the uglyness worth the speedup? I'd
    say this should not be done except in very time-critical places...
    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


    \
     
     \ /
      Last update: 2014-01-17 22:41    [W:4.448 / U:0.664 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site