[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (describe-function 'self-insert-command) takes too long
From: |
Kenichi Handa |
Subject: |
Re: (describe-function 'self-insert-command) takes too long |
Date: |
Mon, 16 Oct 2006 10:04:37 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, "Drew Adams" <address@hidden> writes:
> When I try C-h f self-insert-command it is nearly instantaneous.
> I don't notice the time much either when I just call it directly. 0.7
> seconds is traditionally considered quite long for an interactive response,
> but if you are just doing `C-h f self-insert-command', it might not seem too
> long.
> describe-function is, however, sometimes called from other (e.g. 3rd-party)
> commands, which can add to the response time. If the base function already
> takes 0.7 seconds, that doesn't leave much time available for other
> computation, in an interactive function.
> The point is that those 0.7 seconds (or whatever, on your machine) are
> almost all wasted time, not productive time. There is no reason to look up
> ~5000 bindings that are then ignored.
That's strange. As I fixed bindings.el on 09-22, now the
count of bindings for self-insert-command (i.e. the length
of the return value of (where-is-internal
'self-insert-command)) is just 499. Are you sure that you
are testing with the latest version?
---
Kenichi Handa
address@hidden
- RE: (describe-function 'self-insert-command) takes too long, (continued)
- RE: (describe-function 'self-insert-command) takes too long, Drew Adams, 2006/10/15
- Re: (describe-function 'self-insert-command) takes too long, Kim F. Storm, 2006/10/15
- Re: (describe-function 'self-insert-command) takes too long, Richard Stallman, 2006/10/16
- Re: (describe-function 'self-insert-command) takes too long, Kim F. Storm, 2006/10/17
- Re: (describe-function 'self-insert-command) takes too long, Richard Stallman, 2006/10/17
- Re: (describe-function 'self-insert-command) takes too long, Kim F. Storm, 2006/10/17
- Re: (describe-function 'self-insert-command) takes too long, Richard Stallman, 2006/10/18
- Re: (describe-function 'self-insert-command) takes too long, Kenichi Handa, 2006/10/17
- Re: (describe-function 'self-insert-command) takes too long, Kim F. Storm, 2006/10/17
- Re: (describe-function 'self-insert-command) takes too long, Richard Stallman, 2006/10/18
- Re: (describe-function 'self-insert-command) takes too long,
Kenichi Handa <=
- RE: (describe-function 'self-insert-command) takes too long, Drew Adams, 2006/10/15
- Re: (describe-function 'self-insert-command) takes too long, Kenichi Handa, 2006/10/15
- RE: (describe-function 'self-insert-command) takes too long, Drew Adams, 2006/10/15
- Re: (describe-function 'self-insert-command) takes too long, Kim F. Storm, 2006/10/15
- RE: (describe-function 'self-insert-command) takes too long, Drew Adams, 2006/10/15