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] symbol lookup cache


On Sat, Dec 20, 2014 at 2:43 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Doug Evans <xdje42@gmail.com>
>> Date: Fri, 19 Dec 2014 23:56:23 -0800
>>
>> Here is an updated patch for the symbol cache,
>> with docs and ChangeLog entry.
>
> Btw, I wonder if this should be a user option, not a "maint" option.
> The heuristics used to determine the cache size tend to be wrong in
> some rare corner cases, so letting the user override this should be a
> good thing, I think.

The thought is the fewer knobs the user needs the better,
and that's where potentially dynamically adjusting the size comes in.

It's easier to remove/change maint options, so for now I put the size there
until there's data to guide a better choice.
But, ultimately, making it a user-settable option is definitely a possibility.


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