From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Proposal: immediate strings Date: Wed, 23 May 2012 05:51:13 +0900 Message-ID: <87sjesgcse.fsf@catnip.gol.com> References: <4FBB51E7.6080601@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1337719890 8889 80.91.229.3 (22 May 2012 20:51:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 May 2012 20:51:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 22 22:51:29 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SWw3C-0002XQ-KU for ged-emacs-devel@m.gmane.org; Tue, 22 May 2012 22:51:26 +0200 Original-Received: from localhost ([::1]:51539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWw3C-0006yE-0D for ged-emacs-devel@m.gmane.org; Tue, 22 May 2012 16:51:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWw36-0006wF-FY for emacs-devel@gnu.org; Tue, 22 May 2012 16:51:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWw34-0005vQ-EA for emacs-devel@gnu.org; Tue, 22 May 2012 16:51:20 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:47990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWw34-0005uf-4V; Tue, 22 May 2012 16:51:18 -0400 Original-Received: from 218.231.234.39.eo.eaccess.ne.jp ([218.231.234.39] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1SWw30-0006nN-B9; Wed, 23 May 2012 05:51:14 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 91763E008; Wed, 23 May 2012 05:51:13 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <4FBB51E7.6080601@yandex.ru> (Dmitry Antipov's message of "Tue, 22 May 2012 12:44:23 +0400") Original-Lines: 11 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 203.216.5.74 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150610 Archived-At: Dmitry Antipov writes: > +/* Maximum amount of bytes, including '\0', in an immediate string. > + This assumes that sizeof (EMACS_INT) is equal to sizeof (void * ). */ > +#define STRING_IMM_MAX (3 * sizeof (EMACS_INT) - 2) Not a good assumption (especially given that it's easy to do it right)... -miles --=20 values of =CE=B2 will give rise to dom!