Re: [rfa] save space by using enum bitfields

Daniel Jacobowitz
2003-08-18T21:53:33Z

On Mon, Aug 18, 2003 at 04:48:48PM -0500, Jim Blandy wrote:
>
> Daniel Jacobowitz <drow@mvista.com> writes:
> > Well, I'd say that 20% off the size of struct symbol is pretty good.
> > It makes the idea of unifying our symbol tables to have only one kind
> > of symbol much more practical.
>
> Given that Michael C. says it only saves 0.6% when debugging GDB
> itself, why do you say the size reductions are significant?

Because what I am talking about would increase the size of partial
symbols substantially, and this change would cut down on how big that
increase is. But GDB isn't a good example for this anyway; relatively
small symbol table, esp. if your C library has no debug info. Try it
on a debugging build of Mozilla and I bet you're closer to 5% savings.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer