David, you didn't recommend taking the code out, because it looked like something that would trick people, so we'll leave it in. It's benign. The rest of the change improves performance, which we want.

Thanks,
Coleen

On 11/6/14, 12:35 AM, David Holmes wrote:
Right - now I get it. Pointer difference is an algebraic subtraction with "div sizeof what is pointed to". For aligned pointers there will be no remainder and adding back the difference to the initial pointer will yield the end pointer. But if one of the pointers is not aligned that is not the case.

All rather icky.

Thanks,
David
----

Reply via email to