emacs-devel
[Top][All Lists]
Advanced

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

Re: Compiling Elisp to a native code with a GCC plugin


From: Wojciech Meyer
Subject: Re: Compiling Elisp to a native code with a GCC plugin
Date: Fri, 17 Sep 2010 15:31:24 +0100

On Fri, Sep 17, 2010 at 2:55 PM, Lars Magne Ingebrigtsen <address@hidden> wrote:
> Andreas Schwab <address@hidden> writes:
>
>>> PT + SCHARS (string) can overflow here.  Better check first rather than
>>> later whether ZV - PT < SCHARS (string).
>>>
>>> Yes, I know that most-positive-fixnum <= MAX_INT/2
>>
>> How do you "know" that?
>
> Don't the Lisp integers use a bit for the type tag?

Precise GC requires to distinguish between pointers and integers.
Sine the pointers are always aligned, the least significant bit can
be used for tagging integer.

However, i am not sure what is approach in Emacs, reading docs.

Wojciech



reply via email to

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