[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type-error in C code

From: Stefan Monnier
Subject: Re: Type-error in C code
Date: Mon, 15 Nov 2010 11:08:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> I think we should remove the union Lisp_Object, and instead define a
>> struct Lisp_Object { EMACS_INT i; } (reusing the macros of the non-union
>> type), and make that the default Lisp_Object at least during
>> development.
> I can't think of a good reason not to do that. Is there one?

Data of type "struct ..." is often treated differently by compilers than
data of type int/long/... so the resulting code is likely to be
less efficient.


reply via email to

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