diff options
author | Gemini Lasswell <gazally@runbox.com> | 2019-08-03 12:33:20 -0700 |
---|---|---|
committer | Gemini Lasswell <gazally@runbox.com> | 2019-09-13 13:43:07 -0700 |
commit | 6eaf39d21b70802e6bc607ee2fc2fff67b79231a (patch) | |
tree | 88d93b6bfffd2cf5a0d0f62c48ea8ed17d61a6fb /test/lisp/emacs-lisp/cl-print-tests.el | |
parent | 5c40c21a47062782bc983f41e8eeb97180dca693 (diff) | |
download | emacs-6eaf39d21b70802e6bc607ee2fc2fff67b79231a.tar.gz |
Fix unnecessary hash table creation in cl-prin1 (bug#36566)
cl-prin1 prints all its punctuation by passing strings to prin1. When
print-circle was set, print_preprocess was creating a new hash table
for each string, causing excessive garbage collection when printing
large Lisp objects with cl-prin1.
* src/print.c (print_number_index): Fix typo in comment above.
(PRINT_CIRCLE_CANDIDATE_P): Don't create print_number_table
for top-level strings with no properties, except when
print_continuous_numbering is on.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-print-tests.el')
0 files changed, 0 insertions, 0 deletions