[rfa] save space by using enum bitfields

David Carlton carlton@kealia.com
Mon Aug 18 21:50:00 GMT 2003


On 18 Aug 2003 16:48:48 -0500, Jim Blandy <jimb@redhat.com> said:
> 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?

For what it's worth, his test wouldn't have noticed size reduction in
struct symbol, only in struct {partial,minimal}_symbol.  But 0.6%
seems pretty small either way.

David Carlton
carlton@kealia.com



More information about the Gdb-patches mailing list