unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: EMACS_INT cleanup
Date: Fri, 24 Sep 2010 09:47:41 +0200	[thread overview]
Message-ID: <83r5gjtwf6.fsf@gnu.org> (raw)
In-Reply-To: <m3sk10qfkr.fsf@quimbies.gnus.org>

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> 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.



  parent reply	other threads:[~2010-09-24  7:47 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 18:37 EMACS_INT cleanup Lars Magne Ingebrigtsen
2010-09-23 19:00 ` Eli Zaretskii
2010-09-23 19:02   ` Lars Magne Ingebrigtsen
2010-09-23 19:29     ` Lars Magne Ingebrigtsen
2010-09-23 19:34       ` Lars Magne Ingebrigtsen
2010-09-23 19:53         ` Eli Zaretskii
2010-09-23 20:05           ` Lars Magne Ingebrigtsen
2010-09-23 20:27             ` Eli Zaretskii
2010-09-23 20:29               ` Lars Magne Ingebrigtsen
2010-09-23 20:40                 ` Eli Zaretskii
2010-09-23 20:52                   ` Lars Magne Ingebrigtsen
2010-09-23 20:41                 ` Lars Magne Ingebrigtsen
2010-09-23 20:46                   ` Eli Zaretskii
2010-09-23 20:52                     ` Eli Zaretskii
2010-09-23 20:53                       ` Lars Magne Ingebrigtsen
2010-09-23 22:07                         ` Lars Magne Ingebrigtsen
2010-09-23 22:12                           ` Juanma Barranquero
2010-09-23 22:46                             ` Lars Magne Ingebrigtsen
2010-09-24  0:01                           ` Stefan Monnier
2010-09-24  7:47                           ` Eli Zaretskii [this message]
2010-09-24  9:43                             ` Miles Bader
2010-09-24 10:05                               ` Eli Zaretskii
2010-09-24 10:32                           ` Eli Zaretskii
2010-09-24 11:02                             ` Lars Magne Ingebrigtsen
2010-09-24 11:58                               ` Eli Zaretskii
2010-09-24 13:00                                 ` Lars Magne Ingebrigtsen
2010-09-24 13:09                                   ` Eli Zaretskii
2010-09-24 13:23                                     ` Lars Magne Ingebrigtsen
2010-09-24 13:35                                       ` Eli Zaretskii
2010-09-24 13:40                                         ` Lars Magne Ingebrigtsen
2010-09-24 13:51                                           ` Lars Magne Ingebrigtsen
2010-09-24 14:04                                           ` David Kastrup
2010-09-23 22:30                     ` Stefan Monnier
2010-09-23 22:53                       ` Lars Magne Ingebrigtsen
2010-09-23 23:59                         ` Stefan Monnier
2010-09-24  0:07                           ` Lars Magne Ingebrigtsen
2010-09-24  9:04                             ` Andreas Schwab
2010-09-24  7:54                         ` Eli Zaretskii
2010-09-24  7:51                       ` Eli Zaretskii
2010-09-23 20:21         ` David Kastrup
2010-09-23 20:24           ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r5gjtwf6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).