Hello to all the board
I'll process the raw content of a stream which obviously will be loaded one chunk at a time into an buffer.
In my first attempt, I need to check if every chunk content is x00 filled. If it is, I'll increase the blank chunks counter of 1.
On your personal opinion, which is the fastest an less cycles consuming manner to achieve such result?
I was wondering this: is it possible to make an instant XOR of all the buffer content to check if it does return 0 ?
Or really, the only way is it to cycle through all the bytes and compare each one of them with 0?
Thank you for hinting