[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: faster unicode character name completion
From: |
Stefan Monnier |
Subject: |
Re: faster unicode character name completion |
Date: |
Mon, 07 Dec 2009 21:29:48 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> I don't know. The info says this:
> -- Function: completion-table-dynamic function
> This function is a convenient way to write a function that can act
> as programmed completion function. The argument FUNCTION should be
> a function that takes one argument, a string, and returns an alist
> of possible completions of it. You can think of
> `completion-table-dynamic' as a transducer between that interface
> and the interface for programmed completion functions.
> I thought that FUNCTION should return an alist that contains
> ONLY valid completions.
No, it can (and often is) a superset.
> Ah, interesting approach. But, I've just found that
> dotimes-with-progress-reporter of the original code didn't
> exclude the big unused range U+30000..U+DFFFF (about 75% of
> the range currently checked). Just excluding that part in
> the original code achieves almost the same performance as
> your patch. Attached is that simpler version.
Feel free to install that, then.
Stefan
- Re: faster unicode character name completion, (continued)
- Re: faster unicode character name completion, Florian Beck, 2009/12/04
- Re: faster unicode character name completion, Stefan Monnier, 2009/12/04
- Re: faster unicode character name completion, Miles Bader, 2009/12/04
- Re: faster unicode character name completion, Kenichi Handa, 2009/12/06
- Re: faster unicode character name completion, Kenichi Handa, 2009/12/07
- Re: faster unicode character name completion, Stefan Monnier, 2009/12/07
- Re: faster unicode character name completion, Juri Linkov, 2009/12/07
- Re: faster unicode character name completion, Stefan Monnier, 2009/12/07
- Re: faster unicode character name completion, Miles Bader, 2009/12/07
- Re: faster unicode character name completion, Kenichi Handa, 2009/12/07
- Re: faster unicode character name completion,
Stefan Monnier <=
- Re: faster unicode character name completion, Chong Yidong, 2009/12/08
- Re: faster unicode character name completion, Kenichi Handa, 2009/12/08
- Re: faster unicode character name completion, Deniz Dogan, 2009/12/09
Re: Emacs 23.2 Pretest next week, Dan Nicolaescu, 2009/12/04