emacs-devel
[Top][All Lists]
Advanced

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

Re: Edebug corrupting point in buffers; we need buffer-point and set-buf


From: Eli Zaretskii
Subject: Re: Edebug corrupting point in buffers; we need buffer-point and set-buffer-point, perhaps.
Date: Tue, 01 Nov 2022 08:21:34 +0200

> Date: Mon, 31 Oct 2022 20:46:12 +0000
> Cc: emacs-devel@gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> > 17 times faster doesn't yet tell how important is the speedup, because
> > you give no absolute numbers, and they are what's important here.
> 
> I think I did.  To quote:
> > > It's probably moot, though, since the "slow" restoration only took
> > > 0.00137 seconds for all 207 buffers.

So if this means that the faster method gains you 1.3 msec for 200
buffers, I think such a difference is negligible in the context of
debugging, where code always runs much slower than normally.

> OK.  I now think these new functions aren't really needed, mainly because
> the current way, though much slower, is fast enough.  I still think they
> would be a neater way of getting/setting a buffer point, but it's not a
> big thing.

OK, thanks.



reply via email to

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