|
From: | Gábor Boskovits |
Subject: | Re: ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.) |
Date: | Sat, 25 Feb 2023 20:27:58 +0100 |
Simon Tournier <zimon.toutoune@gmail.com> skribis:
> On Tue, 21 Feb 2023 at 23:55, Ludovic Courtès <ludo@gnu.org> wrote:
>
>>> However, we could imagine to use ’package/inherit’ or another variant
>>> instead of plain ’inherit’ for creating these inherited packages. Doing
>>> so, we could collect some information, e.g., in the field ’properties’,
>>> which could be used then by --list-dependent.
>>
>> In effect that means keeping back the chain of inherited objects, which
>> would lead to space leaks.
>
> [...]
>
>> I agree it’d be nice to solve. I can’t think of a good way to do that
>> though.
>
> What do you mean by “space leaks”?
Unbounded memory usage: each copy of an object is linked back to its
“parent” (“previous generation”).
Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |