dev  

Re: svn commit: r647263 - in /httpd/httpd/trunk: ./ docs/manual/mod/ include/ modules/aaa/ modules/filters/ modules/http/ server/

Roy T. Fielding
Fri, 02 May 2008 10:54:44 -0700

On May 2, 2008, at 4:07 AM, Plüm, Rüdiger, VF-Group wrote:

+                    c = low ^ hi;

Shouldn't this be c = low + hi ?

In theory either should work, which is faster?

The AND.

I think there is not much difference with respect to speed but using
'+' seems to be easier to read.

Not to me (assuming these are two separate bit fields being merged, as
I've lost the context at this point).

....Roy