Re: squid-2.4 release ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 09 Jan 2001 02:54:47 +0100

Henrik Nordstrom wrote:

> but due to alignment requirements the structure is 52 bytes regardless..
> (+ 4 bytes malloc overhead, 56 in total). We need to kill one more byte
> to gain anything from this.

Done. What I ended up doing was to shrink both back to the original
size:
  24 bits for the file number
  8 bits for the directory

And I moved some fields around to match alignment on 64 bit plaforms
(i.e Alpha).

The sdirno type is 8 bits oversized since you cannot declare a bitfield
type.

/Henrik
Received on Mon Jan 08 2001 - 18:53:55 MST

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