[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: maximum buffer size exceeded
From: |
Giorgos Keramidas |
Subject: |
Re: maximum buffer size exceeded |
Date: |
Tue, 04 Sep 2007 22:10:08 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (berkeley-unix) |
On Tue, 4 Sep 2007 16:48:46 +0200, Peter Dyballa <Peter_Dyballa@Web.DE> 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
- Re: maximum buffer size exceeded, (continued)
- Re: maximum buffer size exceeded, Eli Zaretskii, 2007/09/04
- Re: maximum buffer size exceeded, Kim F. Storm, 2007/09/05
- Re: maximum buffer size exceeded, Stefan Monnier, 2007/09/05
- Re: maximum buffer size exceeded, Jason Rumney, 2007/09/05
- Re: maximum buffer size exceeded, Stefan Monnier, 2007/09/05
- Re: maximum buffer size exceeded, Richard Stallman, 2007/09/06
- Re: maximum buffer size exceeded, David Kastrup, 2007/09/06
- Message not available
- Re: maximum buffer size exceeded,
Giorgos Keramidas <=
Re: maximum buffer size exceeded, Eli Zaretskii, 2007/09/02
Re: maximum buffer size exceeded, Glenn Morris, 2007/09/03
Re: maximum buffer size exceeded, Daniel C. Bastos, 2007/09/04