actually, I would say it is instantaneous once glut and gl are precompiled.
by the way, is there a way to compile scripts? On Mon, Apr 20, 2009 at 5:35 PM, Ramana Kumar <[email protected]> wrote: > ram...@amy ~/Desktop % time sudo ikarus --compile-dependencies gears.scm > Password: > Serializing "/usr/lib/ikarus/glut.ss.ikarus-fasl" ... > Serializing "/usr/lib/ikarus/gl.ss.ikarus-fasl" ... > Serializing "./ypsilon-compat.ikarus.ss.ikarus-fasl" ... > sudo ikarus --compile-dependencies gears.scm 40.10s user 0.31s system > 84% cpu 47.692 total > > startup after that is much faster, although not instantaneous > > I did it as root because I can't write to /usr/lib/ikarus... > also, the compat library was in . because it had the traces in. I'm > trying it with the normal ypsilon-compat - still takes 40 seconds or > so. > > On Mon, Apr 20, 2009 at 5:20 PM, Abdulaziz Ghuloum <[email protected]> wrote: >> >> On Apr 20, 2009, at 10:10 AM, Ramana Kumar wrote: >> >>> It seems to take about 1 or 2 minutes to compile or expand (or >>> whatever it's doing to) glut-demo.scm. but then it works and I get the >>> rotating shapes! I just wasn't waiting long enough before - I don't >>> think it should take this long though... >>> >>> same with gears.scm. once gears is running it reports ~18 fps. >> >> This is bizarre. On my machine, it takes less than 4 seconds to >> expand/compile all these libraries. It should never take as long >> as you're saying. >> >> $ time ikarus --compile-dependencies gears.scm >> Serializing "/Users/ikarus/Work/ikarus/lib/glut.ss.ikarus-fasl" ... >> Serializing "/Users/ikarus/Work/ikarus/lib/gl.ss.ikarus-fasl" ... >> Serializing >> "/Users/ikarus/Work/ikarus/lib/ypsilon-compat.ikarus.ss.ikarus-fasl" ... >> >> real 0m3.893s >> user 0m3.739s >> sys 0m0.149s >> >> If the libraries are precompiled, startup is instantaneous. >> >> Anybody else sees such long compile times or has an idea what >> might be causing it? >> >> Aziz,,, >> >
