This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Replace psymbol_allocation_list with std::vector


>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:

Simon> It can't really hurt.  Since those lists are not expected to change after that
Simon> point, it seems useless to keep the extra unused memory in the vector.  I would
Simon> apply this fixup to my patch, WDYT?

It seems reasonable, thanks.  I suppose sometimes it could be slower.
But on the other hand it seems likely to regularly waste memory in the
current state.

Tom


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