[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp watchpoints
From: |
Stefan Monnier |
Subject: |
Re: Lisp watchpoints |
Date: |
Sun, 22 Nov 2015 16:25:40 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Another comment is: do we care about scalability of property lists for
> storing watchers?
As long as we only look up the property list for those few symbols that
have the "hooked" bit set, I think the slow down shouldn't be worrisome.
Also property lists are usually reasonably short (not much than 10
elements on those lists), so looking them up should be reasonably quick.
[ Reminds me: did I understand correctly that you found gethash to be
faster than Fmemq on redisplay--variables? For such a small number
of elements, I find it really surprising, since I thought the
generally expected "threshold" where gethash is faster than assq was
somewhere in the order of a hundred elements. ]
Stefan
- Lisp watchpoints (Was: [Emacs-diffs] master 19e09cf: Ensure redisplay after evaluation), Noam Postavsky, 2015/11/15
- Re: Lisp watchpoints, Stefan Monnier, 2015/11/16
- Re: Lisp watchpoints, Noam Postavsky, 2015/11/22
- Re: Lisp watchpoints, Noam Postavsky, 2015/11/22
- Re: Lisp watchpoints, Noam Postavsky, 2015/11/28
- Re: Lisp watchpoints, Stefan Monnier, 2015/11/28
- Re: Lisp watchpoints, Noam Postavsky, 2015/11/29
- Re: Lisp watchpoints, Andreas Schwab, 2015/11/29
- Re: Lisp watchpoints, Noam Postavsky, 2015/11/29
- Re: Lisp watchpoints, Stefan Monnier, 2015/11/29
- Re: Lisp watchpoints, Eli Zaretskii, 2015/11/29
- Re: Lisp watchpoints, Noam Postavsky, 2015/11/29