Re: [grahame@ucs.uwa.edu.au: Patch to squid HEAD]

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 15 Nov 2001 16:54:10 +0100

On Thursday 15 November 2001 16.29, Andres Kroonmaa wrote:

>  Why? To conserve few KB of ram? Performance-wise char seems even faster.
>  Not sure if we can use additional bits for good, though.

To conserve RAM, and have a smaller penalty of "overgrown" sizes. These are
often cleared as a whole.

>  Can we create a special type whose size in bits can be changed without
>  a need to fix other code?

Sure we can, just as the size of fd_set is determined at compile time..

Regards
Henrik
Received on Thu Nov 15 2001 - 08:53:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:38 MST