[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup.
From: |
Stefan Monnier |
Subject: |
bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup. |
Date: |
Mon, 04 Jun 2012 09:12:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>> Because the union type is for debugging, not for production.
> I didn't know that. If that is so, it should be mentioned in the
> comments somewhere. (I actually thought that Stefan wants to move to
> that model for production at some point, but maybe I misunderstood.)
I'm not sure what it is you misunderstood, but I don't intend to use
this "union type for Lisp_Object" for production. I encourage people
around here to use it, to catch errors a bit earlier (tho, since they're
caught by the compiler, a single user such as myself is enough to get
a pretty good code coverage), but it has too many downsides
(performance is one, 29bit ints vs 30bit ints is another).
I would be OK with replacing it with a "struct".
Stefan
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Paul Eggert, 2012/06/01
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Eli Zaretskii, 2012/06/02
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Paul Eggert, 2012/06/03
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Eli Zaretskii, 2012/06/03
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Paul Eggert, 2012/06/03
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Richard Stallman, 2012/06/03
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup.,
Stefan Monnier <=
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Eli Zaretskii, 2012/06/04
- bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Paul Eggert, 2012/06/04
bug#11604: USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup., Andreas Schwab, 2012/06/02
bug#11604: revised patch for Bug #11604, Paul Eggert, 2012/06/03