[plt-scheme] Re: Using PLT Scheme libs elsewhere?

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Mon May 21 06:47:34 EDT 2007

SpinyNorman skrev:
> On a 128MB file, using a chunk size of 32768, the Java version
> completes in 12 sec.
> 
> real	0m12.349s
> user	0m0.792s
> sys	0m0.389s
> 
> Using mzscheme 369, invoked from a bash shell script, and the method
> you propose, the scheme version completes in 26 sec.
> 
> real	0m25.812s
> user	0m2.899s
> sys	0m0.923s
> 
> Actually, the second run completes in 8 sec., presumably because the
> library is now cached.
> 
> real	0m8.944s
> user	0m0.977s
> sys	0m0.364s

The line (require (planet <yada yada>) fetches the libary
over the net. So in the 25 seconds are included the time
to download the library. As you have guessed the second time,
there is no download.

And if you try again today, you ought to get the 8.9 seconds
again.

-- 
Jens Axel Søgaard



Posted on the users mailing list.