Re: [PATCH] symbol lookup cache

Eli Zaretskii
2014-12-20T10:43:55Z

> 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.

Thanks.

> +@kindex maint set symbol-cache-size
> +@kindex maint show symbol-cache-size
> +@cindex symbol cache size
> +@item maint set symbol-cache-size @var{size}
> +@item maint show symbol-cache-size
> +Set the size of the symbol cache to @var{size}.
> +The default size is intended to be good enough for debugging
> +most applications. This option exists to allow for experimenting
> +with different sizes.

The item is both for "set" and "show", but the text only says "Set".

Otherwise, the documentation parts are OK.

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.