[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hash-table-{to, from}-alist
From: |
Ted Zlatanov |
Subject: |
Re: hash-table-{to, from}-alist |
Date: |
Tue, 02 Dec 2008 08:27:18 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
On Tue, 02 Dec 2008 01:13:49 +0100 Andreas Schwab <address@hidden> wrote:
AS> Ted Zlatanov <address@hidden> writes:
>> I really wish I could write all this in ELisp :)
AS> That should be fairly easy by introducing a variable, say,
AS> hash-table-reader-function and just calling its value when set (and
AS> bailing out if not). That can then be implemented fully in Lisp.
Yes, I considered that, but I'm potentially reading thousands of entries
so I wanted to keep the code as fast as possible.
Splitting the code into an ELisp setup phase and a C fast data filler is
probably the easiest solution if I go that route, but I have to say I
enjoyed my trip in the C side of Emacs so I'd like to figure out the C
way to do what I proposed. Specifically, converting a C LispObject
holding the symbol "test" to the symbol ":test" without hard-coding, and
passing an array of LispObject elements to make-hash-table, are my main
issues right now.
Ted
Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/12/02
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/12/01
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/12/02
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/12/02
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/12/03
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/12/03
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/12/04
- Re: hash-table-{to, from}-alist, Miles Bader, 2008/12/04
- Re: hash-table-{to, from}-alist, Andreas Schwab, 2008/12/04