This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] save space by using enum bitfields


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]