projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f262a6a
)
; * rcirc.el (rcirc-print): Prefer sleep-for over sit-for
author
Philip Kaludercic
<philipk@posteo.net>
Sat, 19 Feb 2022 19:29:29 +0000
(20:29 +0100)
committer
Philip Kaludercic
<philipk@posteo.net>
Sat, 19 Feb 2022 19:35:01 +0000
(20:35 +0100)
Compare
(benchmark-run 100000 (sit-for 0))
;; => (2.
600030102
12 1.
523461324000003
)
with
(benchmark-run 100000 (sleep-for 0))
;; (0.
015882939
0 0.0)
lisp/net/rcirc.el
patch
|
blob
|
history
diff --git
a/lisp/net/rcirc.el
b/lisp/net/rcirc.el
index 9d1600ed72f167e1a7ff02ac4b6695d5a837d9dc..9bbba6dfbee1582788017875cb6e72536b80d141 100644
(file)
--- a/
lisp/net/rcirc.el
+++ b/
lisp/net/rcirc.el
@@
-2043,7
+2043,7
@@
connection."
rcirc-log-process-buffers))
(rcirc-log process sender response target text))
- (s
it-for 0)
; displayed text before hook
+ (s
leep-for 0)
; displayed text before hook
(run-hook-with-args 'rcirc-print-functions
process sender response target text)))))