diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-12-23 10:48:29 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-12-23 10:58:20 +0100 |
commit | 2a22fa8b68d18b83b0a20be66b9123454bf7b6e5 (patch) | |
tree | 111e6a0449fac10692df5c31b686f7a91609590c /lisp/emacs-lisp/comp-cstr.el | |
parent | 433ae7b0a5cedbcd7b0a1daf12846e38f00fd111 (diff) | |
download | emacs-2a22fa8b68d18b83b0a20be66b9123454bf7b6e5.tar.gz emacs-2a22fa8b68d18b83b0a20be66b9123454bf7b6e5.tar.bz2 emacs-2a22fa8b68d18b83b0a20be66b9123454bf7b6e5.zip |
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-copy): Tweak for perf.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
-rw-r--r-- | lisp/emacs-lisp/comp-cstr.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/comp-cstr.el b/lisp/emacs-lisp/comp-cstr.el index 22d3958aed3..aaeb9cf3e9b 100644 --- a/lisp/emacs-lisp/comp-cstr.el +++ b/lisp/emacs-lisp/comp-cstr.el @@ -113,10 +113,10 @@ Integer values are handled in the `range' slot.") (defun comp-cstr-copy (cstr) "Return a deep copy of CSTR." (with-comp-cstr-accessors - (make-comp-cstr :typeset (copy-tree (typeset cstr)) - :valset (copy-tree (valset cstr)) + (make-comp-cstr :typeset (copy-sequence (typeset cstr)) + :valset (copy-sequence (valset cstr)) :range (copy-tree (range cstr)) - :neg (copy-tree (neg cstr))))) + :neg (neg cstr)))) (defsubst comp-cstr-empty-p (cstr) "Return t if CSTR is equivalent to the `nil' type specifier or nil otherwise." |