help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: narrowing considered harmful


From: Stefan Monnier
Subject: Re: narrowing considered harmful
Date: Fri, 14 Jun 2013 22:43:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> I don't see the point.  It only saves you the calls to `copy-marker'.
> What about set-marker to nil?

I wouldn't worry about it.  It can even be a bad idea (set-marker to
nil requires scanning the whole list of markers, so it can take a while.
It can be more efficient to let the GC collect them later on).


        Stefan




reply via email to

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