emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EMACS_INT cleanup


From: Eli Zaretskii
Subject: Re: EMACS_INT cleanup
Date: Fri, 24 Sep 2010 09:47:41 +0200

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Fri, 24 Sep 2010 00:07:32 +0200
> 
> Do we want to allow strings to be more than 2GB big?

IMO, definitely.  Quite a few Emacs features make a string from buffer
text and then put the string back.  So if we don't support large
strings, we have bugs waiting to happen.

> There are as many int/EMACS_INT problems in that area as in the
> buffer area

Yes, fixed a few yesterday.

> but it feels kinda...  er...  not very useful to fix up format3() to
> allow format statements to be EMACS_INT clean.

If you mean the %d vs %ld etc., then I don't think it's a frequent
problem in Emacs sources.

> I mean, it may be nice and orthogonal and stuff, but...  I don't know.
> And does using more longs on 64-bit machines than previously slow Emacs
> down any?

It shouldn't, the registers are 64-bit.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]