From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: regexp-quote bugs Date: Tue, 07 Sep 2004 18:09:50 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <87brh42bic.fsf@zip.com.au> <87k6voyq5f.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094573430 8138 80.91.224.253 (7 Sep 2004 16:10:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2004 16:10:30 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Sep 07 18:10:15 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C4iXu-0004RD-00 for ; Tue, 07 Sep 2004 18:10:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4id9-00038I-3o for guile-devel@m.gmane.org; Tue, 07 Sep 2004 12:15:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C4id1-00037X-UZ for guile-devel@gnu.org; Tue, 07 Sep 2004 12:15:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C4id0-00037E-CE for guile-devel@gnu.org; Tue, 07 Sep 2004 12:15:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4id0-000374-AE for guile-devel@gnu.org; Tue, 07 Sep 2004 12:15:30 -0400 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C4iXX-0002rQ-Gb for guile-devel@gnu.org; Tue, 07 Sep 2004 12:09:51 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id C78E23B6D5 for ; Tue, 7 Sep 2004 18:09:50 +0200 (CEST) Original-Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30168-02-4 for ; Tue, 7 Sep 2004 18:09:50 +0200 (CEST) Original-Received: from troy.dt.e-technik.uni-dortmund.de (troy.dt.e-technik.uni-dortmund.de [129.217.163.17]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id AF3EB3B5A7 for ; Tue, 7 Sep 2004 18:09:50 +0200 (CEST) Original-Received: by troy.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 7063FB9A8; Tue, 7 Sep 2004 18:09:50 +0200 (CEST) Original-To: guile-devel@gnu.org In-Reply-To: <87k6voyq5f.fsf@zip.com.au> (Kevin Ryde's message of "Wed, 25 Aug 2004 11:15:08 +1000") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4092 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4092 Kevin Ryde writes: > Marius Vollmer 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