lkml.org 
[lkml]   [2015]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 2/3] lib: Introduce 2 bit ops api: all_is_bit_{one,zero}
From
Date

> On Nov 19, 2015, at 14:48, Jia He <hejianet@gmail.com> wrote:
>
>
why not use memcmp() to compare with 0x0000000 or 0xffffffff ?
memcmp() have better performance on some platforms .

Thanks



\
 
 \ /
  Last update: 2015-11-19 10:21    [W:0.055 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site