From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: maximum buffer size exceeded Date: Tue, 04 Sep 2007 22:10:08 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: <87bqcimelr.fsf@kobe.laptop> References: <87ejhgdux0.fsf@lion.rapttech.com.au> <87veaqr5l2.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1189017665 26854 80.91.229.12 (5 Sep 2007 18:41:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2007 18:41:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 05 20:41:05 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ISzoG-0001Si-N2 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Sep 2007 20:41:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISzoF-0008AP-2v for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Sep 2007 14:41:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (berkeley-unix) Cancel-Lock: sha1:swiHTZmSNC4qHaP0dcA6wdb4LIA= Original-Lines: 26 Original-NNTP-Posting-Host: 83.235.244.135 Original-X-Trace: news.sunsite.dk DXC=ZGAS[L^kWDIMG4[9BMmA=KYSB=nbEKnkK4?N7_EgM4bEL^MjGPhb63:>SPnN>P; W:54]Hf@KIa\e^J\82H Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:151721 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47245 Archived-At: On Tue, 4 Sep 2007 16:48:46 +0200, Peter Dyballa wrote: >Am 04.09.2007 um 14:13 schrieb Giorgos Keramidas: >> Are there plans to make the buffer size use one of the types >> with "at least X bits", like uint32_t or uint64_t? Do you >> think there is a good reason *not* to do this (i.e. an absurd >> performance penalty on some of the supported platforms)? > > Because of performance issues exactly these aligned data types > are used – and a small part, those mentioned three bits, is > reserved for Lisp, to record the Lisp type of the variable. I got the reason why 3 bits are reserved, thanks :) My question (which was probably phrased badly) was ``is there any reason not to use uint64_t on all platforms?''. The answer to this may be ``Yes, there is. Using uint64_t will unnecessarily pessimize performance on 32-bit only systems'', or even ``Yes there is. Using uint64_t will make it impossible to build Emacs with Foo C Compiler on Bar platform''. I'm not acquainted with all the possible platforms or compiler suites Emacs should normally build fine with, so that's why I wondered :-) - Giorgos