From: Dan Nicolaescu <dann@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Paul Eggert <eggert@cs.ucla.edu>,
Dmitry Antipov <antipov@mvista.com>,
emacs-devel@gnu.org
Subject: Re: --with-wide-int
Date: Mon, 28 Nov 2011 13:04:23 -0500 [thread overview]
Message-ID: <yxq4nxocee0.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvwrakchxw.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 28 Nov 2011 11:52:57 -0500")
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>>> So I expect the practical limit to be closer to 1GB.
>> In practice the limit is a bit less than 2 GiB if you're editing
>> one big file. (I observed this just now, on Ubuntu 11.10 x86,
>> by editing a 1947957328-byte text file.)
>
> Read-only access to a single such file (i.e. starting a new Emacs
> session for that file) is indeed not affected by fragmentation.
>
>> Simple edits and incremental searches are fast;
>
> I'd be surprised if non-simple edits (e.g. insertion of enough text to
> overflow the gap and force a reallocation) works at all.
> It's also to be expected that viewing such a 2GB file will fail if
> you've already viewed a 1GB file in the same session.
>
> I.e. 2GB files will work sometimes, but e.g. for Rmail-style uses (one
> of the more convincing use cases, AFAIK), I don't think 2GB is
> a realistic limit.
Log files produced by various tools are much more interesting that Rmail
(which is not that popular). Even read-only access is valuable for such
file sometimes. Is it something people do every day? Probably not, but
it's very useful when needed.
next prev parent reply other threads:[~2011-11-28 18:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-26 2:15 immediate strings Dmitry Antipov
2011-11-26 7:56 ` Andreas Schwab
2011-11-26 8:05 ` Paul Eggert
2011-11-26 10:03 ` Eli Zaretskii
2011-11-26 14:28 ` Stefan Monnier
2011-11-26 14:30 ` Dmitry Antipov
2011-11-26 21:13 ` Paul Eggert
2011-11-28 4:19 ` --with-wide-int Stefan Monnier
2011-11-28 7:56 ` --with-wide-int Paul Eggert
2011-11-28 16:52 ` --with-wide-int Stefan Monnier
2011-11-28 18:04 ` Dan Nicolaescu [this message]
2011-11-28 18:34 ` --with-wide-int Eli Zaretskii
2011-11-28 19:35 ` --with-wide-int Stefan Monnier
2011-11-29 4:26 ` --with-wide-int Stephen J. Turnbull
2011-11-29 7:35 ` --with-wide-int Paul Eggert
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yxq4nxocee0.fsf@fencepost.gnu.org \
--to=dann@gnu.org \
--cc=antipov@mvista.com \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.