[Top][All Lists]
[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
- Re: EMACS_INT cleanup, (continued)
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, David Kastrup, 2010/09/24
- Re: EMACS_INT cleanup, Stefan Monnier, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup,
Stefan Monnier <=
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Andreas Schwab, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, David Kastrup, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23