[Larceny-users] gl.sls

Eduardo Cavazos wayo.cavazos at gmail.com
Fri Feb 6 18:49:36 EST 2009


Hello,

Here's the latest version of the gl library:

     http://proteus.freeshell.org/gl.sls

One thing I noticed is that it loads *much* slower than the non 
'library' version. I.e. this:

----------------------------------------------------------------------
~ # larceny -err5rs
Larceny v0.97b1 (beta test) (Aug 25 2008 07:06:36, precise:Linux:unified)
larceny.heap, built on Mon Aug 25 07:08:14 EDT 2008
ERR5RS mode (no libraries have been imported)

 > (import (gl))
----------------------------------------------------------------------

is much slower than:

----------------------------------------------------------------------
~ # larceny
Larceny v0.97b1 (beta test) (Aug 25 2008 07:06:36, precise:Linux:unified)
larceny.heap, built on Mon Aug 25 07:08:14 EDT 2008

 > (load "/scratch/_gl-larceny-b.scm")
----------------------------------------------------------------------

where '_gl-larceny-b.scm' contains the same FFI bindings.

Can y'all shed any light on this? Anyway to make the import faster?

Ed



More information about the Larceny-users mailing list