emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collecting markers with MPS


From: Eli Zaretskii
Subject: Re: Collecting markers with MPS
Date: Wed, 24 Apr 2024 19:26:20 +0300

> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: gerd.moellmann@gmail.com,  emacs-devel@gnu.org
> Date: Wed, 24 Apr 2024 18:21:22 +0200
> 
> On Wed, Apr 24 2024, Eli Zaretskii wrote:
> 
> >> We could also provide functions to manually unlink markers from the
> >> buffer that programmers could use to keep the slowness in check.
> >
> > If we can do this manually, we should be able to do it from a timer,
> > no?
> 
> Yes, but only the programmers know which markers they no longer need.

Sorry, I don't follow: how does the old GC detect dead markers?  Why
cannot a function we write do the same?

I don't believe programmers will know which markers are no longer
needed, primarily because most markers are completely unknown to
programmers, Emacs creates them for its own purposes and never exposes
them to Lisp.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]