[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp object that refers to a C struct
From: |
Juanma Barranquero |
Subject: |
Re: Lisp object that refers to a C struct |
Date: |
Thu, 18 Oct 2012 10:52:21 +0200 |
On Thu, Oct 18, 2012 at 6:50 AM, Eli Zaretskii <address@hidden> wrote:
> No, because, like Stephen says, the descriptor is first validated
> against a list of known ones.
In that case, wouldn't it be better to have the integer be an index
into a table, like Stefan suggested? It's faster to check that it is
in range than compare it with an arbitrarily long list of known
pointers.
Juanma
- Re: Lisp object that refers to a C struct, (continued)
- Re: Lisp object that refers to a C struct, Stefan Monnier, 2012/10/17
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/17
- Re: Lisp object that refers to a C struct, Paul Eggert, 2012/10/17
- Re: Lisp object that refers to a C struct, Stefan Monnier, 2012/10/17
- Re: Lisp object that refers to a C struct, Stephen J. Turnbull, 2012/10/17
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/18
- Re: Lisp object that refers to a C struct, Paul Eggert, 2012/10/18
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/18
- Re: Lisp object that refers to a C struct, Paul Eggert, 2012/10/18
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/18
- Re: Lisp object that refers to a C struct,
Juanma Barranquero <=
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/18
- Re: Lisp object that refers to a C struct, Stefan Monnier, 2012/10/18
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/18
- Re: Lisp object that refers to a C struct, Stefan Monnier, 2012/10/18
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/19
- Re: Lisp object that refers to a C struct, Stefan Monnier, 2012/10/19
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/19
- Re: Lisp object that refers to a C struct, Stefan Monnier, 2012/10/19
- Re: Lisp object that refers to a C struct, Eli Zaretskii, 2012/10/19
- Re: Lisp object that refers to a C struct, Stefan Monnier, 2012/10/19