Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Balker Rasmussen <lbr@mjolner.dk>
Subject: Re: opening speed for nnml groups
Date: 04 Sep 1997 17:39:08 +0200	[thread overview]
Message-ID: <0f90xdozqb.fsf@odin.mjolner.dk> (raw)
In-Reply-To: Sean Doran's message of "04 Sep 1997 16:55:01 +0200"

Sean Doran <smd@ebone.net> writes:
> Ich, perl is a pig.  This makes me feel good about my
> choice for a scripting shell:
[...]
> > (run (time scsh -c 
> 	"(let loop ((i 1))
> 		(close-output-port 
> 		 (open-output-file (string-append \"test/\"
> 				    (number->string i))))
> 		(if (< i 10001) 
> 		    (loop (+ i 1))))"))
>       175.68 real         6.71 user        68.59 sys
> > (run (time perl -e "foreach $a (1..10000) { open FOO, \">test/$a\" }"))
>       198.90 real	  5.81 user	   68.99 sys

Not quite fair, as perl constructs the 1..10000 list in my orignal code
snippet.  Try this instead:

(run (time perl -e "while ($i++ < 10000) { open FOO, \">test/$i\" }"))

BTW, thank you for all the "My Pentium is faster than your Ultra" mails :-)

ObGnus: Are anyone able to (e)dit an nnml message without surprising
	results?
-- 
Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS
lbr@mjolner.dk


  reply	other threads:[~1997-09-04 15:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-02 12:01 Steinar Bang
1997-09-03 13:05 ` Steve Folkes
1997-09-03 15:01   ` Lars Balker Rasmussen
1997-09-03 19:45     ` Mark Eichin
1997-09-03 21:26     ` Russ Allbery
1997-09-04 14:55     ` Sean Doran
1997-09-04 15:39       ` Lars Balker Rasmussen [this message]
1997-09-04 21:44         ` Colin Rafferty
1997-09-05 12:20           ` David S. Goldberg
1997-09-05 15:21             ` Edit MIME messages (was: Re: opening speed for nnml groups) Kai Grossjohann
1997-09-05 15:57               ` David S. Goldberg
1997-09-09  7:06                 ` Steinar Bang
1997-09-10  8:43             ` opening speed for nnml groups Lars Balker Rasmussen
1997-09-10 15:07               ` Colin Rafferty
1997-09-13 23:54               ` Lars Magne Ingebrigtsen
1997-09-03 20:33 ` Ken Raeburn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0f90xdozqb.fsf@odin.mjolner.dk \
    --to=lbr@mjolner.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).