[Larceny-users] running fasl's
Marijn Schouten (hkBst)
hkBst at gentoo.org
Mon Mar 9 08:56:01 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have some Scheme code that I'd like to run (pre-)compiled, but I'm probably
doing something wrong because I'm not seeing any speed increase in comparison to
simply running it.
To run the code I always use:
$ larceny -- -e "(require 'srfi-0)" ising.scm -e "(time (main 100))" -e "(quit)"
to compile the code I use:
$ larceny -- -e '(compile-file "ising.scm")' -e "(quit)"
which produces the file ising.fasl. I try to run the code with and without the
fasl existing, but in both cases it takes the same number of seconds to run.
The code is basically
http://dynamo.iro.umontreal.ca/~gambit/wiki/images/0/0d/Ising-20090308.scm
Marijn
- --
Sarcasm puts the iron in irony, cynicism the steel.
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkm1EeEACgkQp/VmCx0OL2yNiACfRReQTPvGi60MzHbrbvURekEd
XAIAnRzkL13hmJglaq0dhN999pmwdpl8
=1BR3
-----END PGP SIGNATURE-----
More information about the Larceny-users
mailing list