emacs-devel
[Top][All Lists]
Advanced

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

Re: EMACS_INT cleanup


From: Stefan Monnier
Subject: Re: EMACS_INT cleanup
Date: Fri, 24 Sep 2010 01:59:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

> Isn't the SPECPDL thing for building a backtrace strack?  The
> specbinding structure is 16 bytes, and I'm assuming that it's organised
> as a, er, stack.  So having this be more than 31 bits will require a
> recursion that goes deeper than the moon has atoms.  (Well, ok.  That's
> a slight exaggeration.  I admit it.)

Yes, but using ptrdiff_t will have the advantage that it's just right.
Using int requires a cast and an argument for why int is sufficiently
large in practice.  Casts are bad, and human-arguments are only OK when
we can't argue directly with the compiler.


        Stefan



reply via email to

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