From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: using empty_string as the only "" string Date: Thu, 26 Apr 2007 17:03:53 +0400 Message-ID: <4630A339.7000005@yandex.ru> References: <462EE947.000007.15251@camay.yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177592752 16597 80.91.229.12 (26 Apr 2007 13:05:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2007 13:05:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 26 15:05:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hh3eq-0008RP-N2 for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 15:05:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh3kY-0008JL-Ei for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 09:11:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hh3kT-0008Gw-UY for emacs-devel@gnu.org; Thu, 26 Apr 2007 09:11:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hh3kS-0008GP-Ru for emacs-devel@gnu.org; Thu, 26 Apr 2007 09:11:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh3kS-0008GM-ME for emacs-devel@gnu.org; Thu, 26 Apr 2007 09:11:00 -0400 Original-Received: from smtp1.yandex.ru ([213.180.223.87]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hh3ei-0001xC-7D for emacs-devel@gnu.org; Thu, 26 Apr 2007 09:05:04 -0400 Original-Received: from rtsoft2.corbina.net ([85.21.88.2]:2245 "EHLO [192.168.1.162]" smtp-auth: "dmantipov" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S2078598AbXDZNE3 (ORCPT ); Thu, 26 Apr 2007 17:04:29 +0400 X-Comment: RFC 2476 MSA function at smtp1.yandex.ru logged sender identity as: dmantipov User-Agent: Thunderbird 1.5.0.7 (X11/20061008) In-Reply-To: X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:70179 Archived-At: Richard Stallman wrote: > Thus, it would be necessary to keep one canonical null unibyte string > and one canonical null multibyte string. I was convinced in the sense of having two null strings. Also note that canonicalization of null strings assumes that non-null interval can't be attached to empty string regardless of it's multibyteness (at a first glance, this is how the stuff ticks now, but I'm not sure about this). If this is true, is it ok to allocate both null strings from pure space ? Dmitry