From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David.Kastrup@t-online.de (David Kastrup) Newsgroups: gmane.emacs.devel Subject: Re: malloc and alignment Date: 16 Jun 2003 17:15:54 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200306161438.h5GEcodM011551@rum.cs.yale.edu> Reply-To: dak@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055777267 8484 80.91.224.249 (16 Jun 2003 15:27:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2003 15:27:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 16 17:27:45 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19RvlX-0001KK-00 for ; Mon, 16 Jun 2003 17:19:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Rw90-0005Jj-00 for ; Mon, 16 Jun 2003 17:43:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Rvmc-0000ly-9L for emacs-devel@quimby.gnus.org; Mon, 16 Jun 2003 11:20:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19RvlE-0008Il-9v for emacs-devel@gnu.org; Mon, 16 Jun 2003 11:19:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19RvkW-0007r7-HX for emacs-devel@gnu.org; Mon, 16 Jun 2003 11:18:24 -0400 Original-Received: from mailout06.sul.t-online.com ([194.25.134.19]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19RviV-00078x-7L for emacs-devel@gnu.org; Mon, 16 Jun 2003 11:16:19 -0400 Original-Received: from fwd00.aul.t-online.de by mailout06.sul.t-online.com with smtp id 19RviS-0005hh-01; Mon, 16 Jun 2003 17:16:16 +0200 Original-Received: from localhost.localdomain (EewgmcZeYenkNIa17l16UCoGcQF3h7ObWvCzv0HW6NLZ3PhqAmqVZy@[62.226.11.193]) by fwd00.sul.t-online.com with esmtp id 19RviA-0ARJ7w0; Mon, 16 Jun 2003 17:15:58 +0200 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h5GFFudo023169; Mon, 16 Jun 2003 17:15:56 +0200 Original-Received: (from dak@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id h5GFFtgN023165; Mon, 16 Jun 2003 17:15:55 +0200 Original-To: "Stefan Monnier" In-Reply-To: <200306161438.h5GEcodM011551@rum.cs.yale.edu> Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Seen: false X-ID: EewgmcZeYenkNIa17l16UCoGcQF3h7ObWvCzv0HW6NLZ3PhqAmqVZy X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15127 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15127 "Stefan Monnier" writes: > I'd like to try and get rid of the markbit on Lisp_Object values. > The idea is to scrape off a few more bits (I'd like to bump maxint > to 512MB instead of 128MB). And I'd also like to represent floats > in 8bytes rather than 12. If you are scraping off bits, why not instead _add_ one, but reserve _all_ the additional tag values gained in that way for representing integers? Something like "tag byte values of 0 to 127 all represent integers, tag byte values from 128 to 256 represent all other data types". That way integers would go up to 1GB without pain. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum