Revert last change in benchmark.el
For discussion, see the following thread: https://lists.gnu.org/archive/html/emacs-devel/2020-06/msg00791.html * lisp/emacs-lisp/benchmark.el (benchmark-run-compiled): Revert to giving byte-compile a form rather than a closure.
This commit is contained in:
parent
8df2957df1
commit
0792f8e4f0
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ result. The overhead of the `lambda's is accounted for."
|
|||
(gcs (make-symbol "gcs"))
|
||||
(gc (make-symbol "gc"))
|
||||
(code (byte-compile `(lambda () ,@forms)))
|
||||
(lambda-code (byte-compile (lambda ()))))
|
||||
(lambda-code (byte-compile '(lambda ()))))
|
||||
`(let ((,gc gc-elapsed)
|
||||
(,gcs gcs-done))
|
||||
(list ,(if (or (symbolp repetitions) (> repetitions 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue