httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@gbiv.com>
Subject Re: svn commit: r647263 - in /httpd/httpd/trunk: ./ docs/manual/mod/ include/ modules/aaa/ modules/filters/ modules/http/ server/
Date Fri, 02 May 2008 18:28:52 GMT
On May 2, 2008, at 11:19 AM, Ruediger Pluem wrote:
> On 05/02/2008 07:54 PM, Roy T. Fielding wrote:
>> 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 agree that an AND (&) or an OR (|) would be also readable, but
> above we have an XOR, which makes one think about its deeper meaning.

Hah, I was reading it like an equation from my discrete math days.
I guess ^ really is less readable. ;-)  low & hi would be my preference.

....Roy


Mime
View raw message