Re: [rfa] save space by using enum bitfields

Jim Blandy
2003-08-19T19:25:53Z

Okay, I'm sold. Looks good to commit to me.

Michael Elizabeth Chastain <mec@shout.net> writes:

> Here is some more data on a larger dataset.
>
> The target program is a specific gdb.exe file with
> LD_LIBRARY_PATH set to /usr/lib/debug, so that I am getting
> glibc-2.2.93-5-rh with debugging symbols turned on.
>
> I use "gdb -readnow" to read all the symbols on startup.
> That increases memory usage from 20 megabytes to 100 megabytes.
>
> 'ps axuww' says:
>
> old: 117280 k
> new: 108112 k
>
> 'maint space 1' says:
>
> old: 99352576
> new: 89997312
>
> This is 8% to 10% savings here on a 100 megabyte process.