GNU bug report logs - #19776
25.0.50; HTML rendering is very slow

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Wed, 4 Feb 2015 23:04:02 UTC

Severity: minor

Merged with 22846

Found in versions 25.0.50, 25.0.91

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: stefan <at> marxist.se, 19776 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, rms <at> gnu.org
Subject: bug#19776: 25.0.50; HTML rendering is very slow
Date: Sun, 24 Oct 2021 22:14:20 +0200
Lars Ingebrigtsen <larsi <at> 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




This bug report was last modified 3 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.