bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19776: 25.0.50; HTML rendering is very slow


From: Lars Ingebrigtsen
Subject: bug#19776: 25.0.50; HTML rendering is very slow
Date: Sun, 24 Oct 2021 22:14:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Or...  call do_pending_atimers in our loop somewhere strategic.  It's
> just a check for whether the atimers variable is NULL or not, so it
> should be reasonably fast.  Or just test the variable directly, for that
> matter.

Or...  is something else going on here?

I put in an explicit `while' here, because

DEFUN ("while", Fwhile, Swhile, 1, UNEVALLED, 0,
[...]
  while (!NILP (eval_sub (test)))
    {
      maybe_quit ();
      prog_ignore (body);
    }

So we're calling maybe_quit here:

(with-delayed-message 0.5 "Yes"
  (dotimes (i 1000000)
    (let ((j 0))
      (while (< j 1000)
        (setq j (1+ j))))))

Still, it's not triggered.  Hm.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]