[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp primitives and their calling of the change hooks
From: |
Alan Mackenzie |
Subject: |
Re: Lisp primitives and their calling of the change hooks |
Date: |
Wed, 10 Jan 2018 21:03:34 +0000 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
Hello, Stefan.
On Wed, Jan 10, 2018 at 15:33:16 -0500, Stefan Monnier wrote:
> > Non-balanced change hooks necessitate special handling.
> I can't imagine why it would be significantly more difficult to handle
> bcf bcf acf
> than
> bcf acf acf
> And I can't see why it would be easier to handle
> bcf bcf acf
> only for the special case where the "missing" acf would have had the
> same length as the previous bcf (i.e. comes from a primitive which
> doesn't change the length of the buffer).
Again, what advantages (other than not changing existing C code) are
there in allowing non-balanced b/a-c-f at all? The difference in run
time between
bcf acf acf acf .... acf
(in the cases we currently do this) and
bcf acf bcf acf bcf acf .... bcf acf
is surely negligible, and it is not at all clear that the latter (which
can have simpler hook functions) would be slower than the former (which
may need elaborate special handling).
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
- Re: Lisp primitives and their calling of the change hooks, (continued)
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/09
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/09
- Re: Lisp primitives and their calling of the change hooks, Eli Zaretskii, 2018/01/09
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/10
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/12
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/09
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/10
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/10
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/10
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/10
- Re: Lisp primitives and their calling of the change hooks,
Alan Mackenzie <=
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Stefan Monnier, 2018/01/11
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/12
- Re: Lisp primitives and their calling of the change hooks, Clément Pit-Claudel, 2018/01/10
- Re: Lisp primitives and their calling of the change hooks, Alan Mackenzie, 2018/01/10