httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <>
Subject Re: Unsigned not bitfields...
Date Wed, 22 Mar 2000 01:20:57 GMT
On Tue, 21 Mar 2000, Jeff Trawick wrote:
> (shields up)
> unsigned was there because they were bitfields;
> some platforms don't like such fields to be signed;
> For at least one system I know of, signed arithmetic is 
> faster than unsigned.


1) drop bitfields. no need to conserve the space (at the expense of
   access time)

2) drop "unsigned" because a bare "int" is generally the fastest type in
   C. in this case, the unsigned might not matter, but I consider it "good
   form" when you want a simple, fast flag.


Greg Stein,

View raw message