From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Proposal: immediate strings Date: Thu, 24 May 2012 08:51:44 -0400 Message-ID: References: <4FBB51E7.6080601@yandex.ru> <4FBDD04F.9010203@cs.ucla.edu> <4FBDE8BB.5020309@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337863923 27906 80.91.229.3 (24 May 2012 12:52:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 May 2012 12:52:03 +0000 (UTC) Cc: Dmitry Antipov , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 24 14:52:02 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 1SXXWM-0004Kd-7i for ged-emacs-devel@m.gmane.org; Thu, 24 May 2012 14:52:02 +0200 Original-Received: from localhost ([::1]:41418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXXWL-00029W-Uc for ged-emacs-devel@m.gmane.org; Thu, 24 May 2012 08:52:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXXWE-00029L-3F for emacs-devel@gnu.org; Thu, 24 May 2012 08:51:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXXW7-0006k7-QF for emacs-devel@gnu.org; Thu, 24 May 2012 08:51:53 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:51695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXXW7-0006jk-Lu for emacs-devel@gnu.org; Thu, 24 May 2012 08:51:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCpYd/2dsb2JhbABEDrQDgQiCFQEBBAFWIxALNBIUGA0kiBwFugmQRAOjM4FYgjBV X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="182174439" Original-Received: from 76-10-150-29.dsl.teksavvy.com (HELO pastel.home) ([76.10.150.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 24 May 2012 08:51:45 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8F50458C01; Thu, 24 May 2012 08:51:44 -0400 (EDT) In-Reply-To: <4FBDE8BB.5020309@cs.ucla.edu> (Paul Eggert's message of "Thu, 24 May 2012 00:52:27 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.143.162 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:150633 Archived-At: >> we could just grab a second bit from `size' >> for the `immbit'. > Only if MOST_POSITIVE_FIXNUM <= min (SIZE_MAX, PTRDIFF_MAX) / 2. Why? This would be true if `size' were changed to ptrdiff_t (which would make sense, indeed), but it's currently EMACS_INT, so it should always have 2 free bits. Stefan