diff options
| author | Dmitry Antipov | 2014-07-02 07:26:19 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-07-02 07:26:19 +0400 |
| commit | 477daa5b533af8f62c9b6893e2d522b93d9c2853 (patch) | |
| tree | 1dc2bb83f76ecfecbce218a9af3a2bf845f5e3b6 /src/ChangeLog | |
| parent | 1dc6f7e738e3ffe130626814f721c83c448fe9a8 (diff) | |
| download | emacs-477daa5b533af8f62c9b6893e2d522b93d9c2853.tar.gz emacs-477daa5b533af8f62c9b6893e2d522b93d9c2853.zip | |
Shrink Lisp_Sub_Char_Table by preferring C integers to Lisp_Objects.
* lisp.h (struct Lisp_Sub_Char_Table): Use C integers for depth and
min_char slots. Adjust comment.
(enum char_table_specials): Rename from CHAR_TABLE_STANDARD_SLOTS.
Add SUB_CHAR_TABLE_OFFSET member.
(make_uninit_sub_char_table): New function.
* alloc.c (mark_char_table): Add extra argument to denote char table
subtype. Adjust to match new layout of sub char-table.
(mark_object): Always mark sub char-tables with mark_char_table.
* chartab.c (make_sub_char_table, copy_sub_char_table)
(sub_char_table_ref, sub_char_table_ref_and_range, sub_char_table_set)
(sub_char_table_set_range, optimize_sub_char_table, map_sub_char_table)
(map_sub_char_table_for_charset, uniprop_table_uncompress):
All related users changed.
* lread.c (read1): Adjust to match new layout of sub char-table.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7eb789ca341..3df37a69527 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2014-07-02 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Shrink Lisp_Sub_Char_Table by preferring C integers to Lisp_Objects. | ||
| 4 | * lisp.h (struct Lisp_Sub_Char_Table): Use C integers for depth and | ||
| 5 | min_char slots. Adjust comment. | ||
| 6 | (enum char_table_specials): Rename from CHAR_TABLE_STANDARD_SLOTS. | ||
| 7 | Add SUB_CHAR_TABLE_OFFSET member. | ||
| 8 | (make_uninit_sub_char_table): New function. | ||
| 9 | * alloc.c (mark_char_table): Add extra argument to denote char table | ||
| 10 | subtype. Adjust to match new layout of sub char-table. | ||
| 11 | (mark_object): Always mark sub char-tables with mark_char_table. | ||
| 12 | * chartab.c (make_sub_char_table, copy_sub_char_table) | ||
| 13 | (sub_char_table_ref, sub_char_table_ref_and_range, sub_char_table_set) | ||
| 14 | (sub_char_table_set_range, optimize_sub_char_table, map_sub_char_table) | ||
| 15 | (map_sub_char_table_for_charset, uniprop_table_uncompress): | ||
| 16 | All related users changed. | ||
| 17 | * lread.c (read1): Adjust to match new layout of sub char-table. | ||
| 18 | |||
| 1 | 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca> | 19 | 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 20 | ||
| 3 | * keymap.c (get_keyelt): Simplify. | 21 | * keymap.c (get_keyelt): Simplify. |