[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15880: Compute C declarations for DEFSYMs automatically.
From: |
Stefan Monnier |
Subject: |
bug#15880: Compute C declarations for DEFSYMs automatically. |
Date: |
Thu, 14 Nov 2013 00:06:07 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> I was thinking of something that didn't have a symbol_vals table, like this:
> struct Lisp_Symbol symbol_structs[N];
> #define Qnil make_lisp_ptr (symbol_structs + 0, Lisp_Symbol)
> #define Qt make_lisp_ptr (symbol_structs + 1, Lisp_Symbol)
> ...
Oh, right. So you need a mark_symbol_array function, but yes, that
could lead to slightly more efficient optimized code. Of course,
without link-time optimization, it probably won't be any better than
what we have (tho not sure if it would be worse; probably a wash).
Stefan
- bug#15880: Compute C declarations for DEFSYMs automatically., (continued)
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2013/11/12
- bug#15880: Compute C declarations for DEFSYMs automatically., Stefan Monnier, 2013/11/12
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2013/11/13
- bug#15880: Compute C declarations for DEFSYMs automatically., Stefan Monnier, 2013/11/13
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2013/11/13
- bug#15880: Compute C declarations for DEFSYMs automatically., Stefan Monnier, 2013/11/13
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2013/11/13
- bug#15880: Compute C declarations for DEFSYMs automatically., Stefan Monnier, 2013/11/13
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2013/11/13
- bug#15880: Compute C declarations for DEFSYMs automatically.,
Stefan Monnier <=
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2013/11/14
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2013/11/14
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2013/11/14
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2013/11/15
- bug#15880: Compute C declarations for DEFSYMs automatically., Stefan Monnier, 2013/11/15
bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2013/11/13