From: Andy Wingo <wingo@pobox.com>
To: Cedric Cellier <rixed@happyleptic.org>
Cc: guile-user@gnu.org
Subject: Re: Latest guile 1.9 segfault in GC
Date: Wed, 18 Aug 2010 09:16:15 -0700 [thread overview]
Message-ID: <m3iq37vquo.fsf@unquote.localdomain> (raw)
In-Reply-To: <20100817140858.GA13359@securactive.net> (Cedric Cellier's message of "Tue, 17 Aug 2010 16:08:58 +0200")
Hi Cedric,
On Tue 17 Aug 2010 07:08, Cedric Cellier <rixed@happyleptic.org> 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/
next prev parent reply other threads:[~2010-08-18 16:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-17 9:09 Latest guile 1.9 segfault in GC Cedric Cellier
2010-08-17 13:08 ` Cedric Cellier
2010-08-18 14:07 ` Ludovic Courtès
2010-08-17 14:08 ` Cedric Cellier
2010-08-18 14:12 ` Ludovic Courtès
2010-08-18 16:16 ` Andy Wingo [this message]
2010-08-21 1:42 ` rixed
2010-08-23 12:47 ` Cedric Cellier
2010-08-24 16:31 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3iq37vquo.fsf@unquote.localdomain \
--to=wingo@pobox.com \
--cc=guile-user@gnu.org \
--cc=rixed@happyleptic.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).