fast way to check if an array of chars is zero

Posted by Claudiu on Stack Overflow See other posts from Stack Overflow or by Claudiu
Published on 2010-04-07T02:59:47Z Indexed on 2010/04/07 3:03 UTC
Read the original article Hit count: 210

Filed under:
|
|
|
|

I have an array of bytes, in memory. What's the fastest way to see if all the bytes in the array are zero?

© Stack Overflow or respective owner

Related posts about 32bit

Related posts about c