From xemacs-m  Sat Jan 18 22:54:07 1997
Received: from jupiter.scs.Ryerson.CA (root@jupiter.scs.Ryerson.CA [141.117.18.31])
          by xemacs.org (8.8.4/8.8.4) with SMTP
	  id WAA09200 for <xemacs-beta@xemacs.org>; Sat, 18 Jan 1997 22:54:06 -0600 (CST)
Received: by jupiter.scs.Ryerson.CA id <10748(3)>; Sat, 18 Jan 1997 23:53:58 -0500
From: Dave Mason <dmason@scs.Ryerson.CA>
To: xemacs-beta@xemacs.org
Subject: Re: 19.15b90: slow status messages
In-Reply-To: <QQbzcq10256.199701190403@crystal.WonderWorks.COM>
References: <QQbzcq10256.199701190403@crystal.WonderWorks.COM>
X-Face: %Q_F^9R-:'3MM7eZ6@E.x@f\*bgatzGv-8d%I~L[p^.F)3QF{kq\UTsu|e#?)3FPwJNvPPB
 !s*He|-*M^p*~bh"Nywm5NLL\\Rl3r(hWHY*F:$/RdKV*bS";n&#\Ov@*=]mu\}6tP<lkW*7FT|:Dm
 9ejO^{)GHJdPQaa"C\<Ak`K27?328'V(u*|jAEZR9-z!o\^j:Cb&*tx_9\KbXD*2
Message-Id: <97Jan18.235358edt.10748(3)@jupiter.scs.Ryerson.CA>
Date: 	Sat, 18 Jan 1997 23:53:54 -0500

Kyle Jones writes:
> Trying to debug a problem, I ran this
> 
> (progn
>   (let ((i 1))
>     (while (<= i 1000)
>       (message "Counting %d" i)
>       (setq i (1+ i)))))
> 
> I was stunned at how slowly it ran.  Try it.  I wonder how much
> faster VM would startup if I didn't print status messages.

My first intuition was the fact that it had to create a temp string
for the formatting... so I tried with a constant string, no i.  Hard
to say but it seemed almost exactly as slow, and the same amount of
GC.

Bleah!

Maybe if VM did status every 10 messages?

../Dave

