From: Marius Vollmer <marius.vollmer@uni-dortmund.de>
Subject: Re: regexp-quote bugs
Date: Tue, 07 Sep 2004 18:09:50 +0200 [thread overview]
Message-ID: <ljzn42cb75.fsf@troy.dt.e-technik.uni-dortmund.de> (raw)
In-Reply-To: <87k6voyq5f.fsf@zip.com.au> (Kevin Ryde's message of "Wed, 25 Aug 2004 11:15:08 +1000")
Kevin Ryde <user42@zip.com.au> writes:
> Marius Vollmer <marius.vollmer@uni-dortmund.de> writes:
>>
>> Why did you rewrite it in C?
>
> I figured it'd be a good speedup.
Yes, maybe, but with Unicode coming up and all that, it might be
easier to keep it in Scheme. By using the internal C string
interface, we have one more blob of non-trivial code to maintain when
that interface changes.
(The code right now is subtly buggy, already: it uses the result of
scm_i_string_chars across scm_i_make_string and the latter allows
other threads to change the internal representation of strings, thus
invalidating the pointer returned from scm_i_string_chars.)
> Might just chuck something into the scheme code to start with
> though.
Yes, I think that would be best right now. Could you make the quating
changes to the Scheme code, both 1.7 and 1.6? Thanks!
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
prev parent reply other threads:[~2004-09-07 16:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-22 1:43 regexp-quote bugs Kevin Ryde
2004-08-24 17:23 ` Marius Vollmer
2004-08-25 1:15 ` Kevin Ryde
2004-09-07 16:09 ` Marius Vollmer [this message]
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=ljzn42cb75.fsf@troy.dt.e-technik.uni-dortmund.de \
--to=marius.vollmer@uni-dortmund.de \
/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).