From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Using libunistring for string comparisons et al Date: Wed, 30 Mar 2011 12:14:44 +0200 Message-ID: References: <336042.33326.qm@web37901.mail.mud.yahoo.com> <878vwgmhah.fsf@netris.org> <511668.33680.qm@web37902.mail.mud.yahoo.com> <87sjuokniq.fsf@netris.org> <118142.11911.qm@web37907.mail.mud.yahoo.com> <87ipvjlvgj.fsf@netris.org> <87oc5b8fx3.fsf@gnu.org> <87tyf1kbae.fsf@netris.org> <877hbxwxjj.fsf@gnu.org> <87k4fxk4rx.fsf@netris.org> <87d3lltp92.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301483641 14415 80.91.229.12 (30 Mar 2011 11:14:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 11:14:01 +0000 (UTC) Cc: Mark H Weaver , guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 30 13:13:55 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4tLW-0004a0-Kf for guile-devel@m.gmane.org; Wed, 30 Mar 2011 13:13:54 +0200 Original-Received: from localhost ([127.0.0.1]:39741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4tLV-0008FR-Us for guile-devel@m.gmane.org; Wed, 30 Mar 2011 07:13:54 -0400 Original-Received: from [140.186.70.92] (port=33903 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4tLA-00089p-7I for guile-devel@gnu.org; Wed, 30 Mar 2011 07:13:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4tL8-00035Y-Hs for guile-devel@gnu.org; Wed, 30 Mar 2011 07:13:32 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:51581 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4tL8-00035S-BR; Wed, 30 Mar 2011 07:13:30 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 9AD17464F; Wed, 30 Mar 2011 07:15:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=ODvNGF++psBo J6oXiDJSBY1FGn4=; b=sw1JnyfMSC++3x7QxYGwzF7vyeGD6CHAD6fwDZLUtTLL ou6esUPYEp9VFTnhQLs6ZlhTCqY9CGm64LE1aVTKvTKr0CVArNFjmtz15yq7lwfj 4aH5PNGleMlYkGp7E13Jqks4aovJXesXiCpMokYaX4cSHayvKROJT8AohQTpt8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=vvemZW DHNuJPKdu841Uf1x5cBNhD8S2ng81QF9F9xwW19o2yOfaNUGZLamYvpYtrY1uBt0 H4Y5nEJ5SKTRQSlUA3HabAeWk7aPzniUeKkK54fkfuIGLVMc7PEYs1koNon1cu7p WvlxHkosnIPBO92BxHhWb1/v2X6sbMsLRec9s= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 7A2CE464C; Wed, 30 Mar 2011 07:15:15 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 6A7994648; Wed, 30 Mar 2011 07:15:12 -0400 (EDT) In-Reply-To: <87d3lltp92.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 20 Mar 2011 23:12:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: FCE36028-5ABE-11E0-AFDB-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12078 Archived-At: On Sun 20 Mar 2011 23:12, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > For 2.1.x, things are different. I=E2=80=99m happy to revisit not only t= he > internal storage approach but also the O(1) ref/set! (the latter should > be discussed in light of the trend in other Schemes, though.) [...] > Again, if you want to experiment with UTF-8 for internal storage, then > 2.1 is yours. ;-) At the end of all this, I also agree that we should look into UTF-8 for 2.1/2.2. The advantage of having a single string representation is good enough for me; and that representation doesn't present bit memory-usage gotchas (like our current UTF-32 if any char is non-latin1), then so much the better. It would be nice to get rid of mutexen at the same time, given that UTF-8 can't be usefully modified in place. That said, I would like to see a branch before merging into master. If the advantages are as great as we hope, it should be an obvious choice to merge the branch in as soon as things look promising. Regards, Andy --=20 http://wingolog.org/