mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-copy): Tweak for perf.
This commit is contained in:
parent
433ae7b0a5
commit
2a22fa8b68
1 changed files with 3 additions and 3 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue