[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Latest guile 1.9 segfault in GC
From: |
Andy Wingo |
Subject: |
Re: Latest guile 1.9 segfault in GC |
Date: |
Wed, 18 Aug 2010 09:16:15 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Cedric,
On Tue 17 Aug 2010 07:08, Cedric Cellier <address@hidden> writes:
> As a side note, I find libguile 1.9 slower than libguile 1.8.7.
> I suppose, being an unstable version, it's compiled by default
> with many debug options on. Is there an easy way to configure it
> for fast execution, for benchmarking reason ?
Guile 1.9's interpreter is slower than 1.8's interpreter, but 1.9 has a
compiler, and compiled Scheme runs much faster than 1.8.
You're probably not hitting the compiler for some reason. I think that
scm_primitive_load doesn't support autocompilation, where it probably
should. Is that the function you're using to load your Scheme code?
To work around it for now, call `load' from scheme. I know it's ugly but
at least you get the speed that way. Use scm_primitive_eval (scm_list_2
(scm_from_locale_string ("load"), path)).
Andy
--
http://wingolog.org/