emacs-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]