]> git.eshelyaron.com Git - emacs.git/commit
; * rcirc.el (rcirc-print): Prefer sleep-for over sit-for
authorPhilip Kaludercic <philipk@posteo.net>
Sat, 19 Feb 2022 19:29:29 +0000 (20:29 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Sat, 19 Feb 2022 19:35:01 +0000 (20:35 +0100)
commit43237f3d27897e2a0c6de745770802d0ba40e3a5
tree431928127b941dcec9af3efccc6c940bcc5cf86d
parentf262a6af3694b41828ffb8e62a800f8a3ed4e4aa
; * rcirc.el (rcirc-print): Prefer sleep-for over sit-for

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