summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndreaCorallo <akrl@sdf.org>2020-02-25 22:41:59 +0000
committerAndrea Corallo <akrl@sdf.org>2020-02-26 12:57:45 +0000
commit86cc9377cec397884744fcc4d0e5b555cbc3ca46 (patch)
tree3c120c4cb389f5a82caf3f58a2f28481cab862ca /lisp/emacs-lisp
parent511415f6f656a5bf4da4f5f49d58de9dc7d5d64d (diff)
downloademacs-86cc9377cec397884744fcc4d0e5b555cbc3ca46.tar.gz
emacs-86cc9377cec397884744fcc4d0e5b555cbc3ca46.tar.bz2
emacs-86cc9377cec397884744fcc4d0e5b555cbc3ca46.zip
* ; Add a TODO for a future optimization
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index d34ff3c0c89..3c993c5c935 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -1973,6 +1973,9 @@ Prepare every function for final compilation and drive the C back-end."
(comp-data-container-check (comp-ctxt-d-default comp-ctxt))
(comp-data-container-check (comp-ctxt-d-impure comp-ctxt))
(comp-data-container-check (comp-ctxt-d-ephemeral comp-ctxt))
+ ;; TODO: here we could optimize cleaning up objects present in the
+ ;; impure and or in the ephemeral container that are also in the
+ ;; default one.
(unless comp-dry-run
(comp--compile-ctxt-to-file name)))