From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Code for converting between Elisp and Calc floats
Date: Sun, 25 Oct 2009 09:57:49 -0400 [thread overview]
Message-ID: <jwvzl7fh99y.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87hbto11d8.fsf@lola.goethe.zz> (David Kastrup's message of "Sun, 25 Oct 2009 06:36:19 +0100")
> There are few areas of importance. One would be buffer_size. Putting
bignums for buffer size is a bad idea. It would require an enormous
amount of code changes and a very significant slow down (buffer
positions are used extensively everywhere in the C code, including
performance critical code such as the rendering engine, and changing
them from scalar values to something else would slow things down
tremendously).
> The buffer size problem would likely be less radically addressed by
> adding another bit of tagging, and then use half of the possible
> values for integers, giving a range of -2^30 .. 2^30-1.
Currently we have -2^28..2^28-1 and we can easily extend it to
2^29..2^29-1 without any noticeable downside (I have been using such
a change for a while now).
> That's what XEmacs does, and it goes a far way of extending the point
> of nuisance.
Not far enough, AFAICT: if you regularl edit files somewhere between
512M and 1G, then it's quite likely that you'll also want to edit files
larger than 1G. Currently in 64bit mode, you supposedly can edit files
larger but in practice when I tried it, I bumped into other bugs when
reaching the 2G limit (or maybe even earlier) IIRC.
Stefan
next prev parent reply other threads:[~2009-10-25 13:57 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-08 20:47 allow C-x v i / C-x v v to create a repository if none is available Dan Nicolaescu
2009-10-08 21:10 ` Chong Yidong
2009-10-09 19:18 ` Stefan Monnier
2009-10-09 19:32 ` Dan Nicolaescu
2009-10-13 18:40 ` Stefan Monnier
2009-10-13 15:59 ` Dan Nicolaescu
2009-10-21 19:06 ` Dan Nicolaescu
2009-10-23 7:45 ` Dan Nicolaescu
2009-10-23 13:12 ` Stefan Monnier
2009-10-24 2:34 ` Miles Bader
2009-10-24 6:35 ` Dan Nicolaescu
2009-10-22 18:56 ` Code for converting between Elisp and Calc floats Jay Belanger
2009-10-22 20:04 ` James Cloos
2009-10-23 0:50 ` Stefan Monnier
2009-10-24 20:03 ` Jay Belanger
2009-10-25 0:56 ` Stefan Monnier
2009-10-25 5:36 ` David Kastrup
2009-10-25 11:36 ` Vincent Belaïche
2009-10-25 14:11 ` Chong Yidong
2009-10-25 19:29 ` Vincent Belaïche
2009-10-26 2:30 ` Stefan Monnier
2009-10-26 12:48 ` Vincent Belaïche
2009-10-27 3:22 ` Stefan Monnier
2009-10-25 13:57 ` Stefan Monnier [this message]
2009-10-25 18:35 ` Eli Zaretskii
2009-10-26 2:02 ` Large files (was: Code for converting between Elisp and Calc floats) Stefan Monnier
2009-10-23 13:11 ` Code for converting between Elisp and Calc floats Richard Stallman
2009-10-23 13:26 ` David Kastrup
2009-10-24 17:34 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2009-10-27 4:56 Vincent Belaïche
2009-10-27 6:16 ` Stefan Monnier
2009-10-27 19:38 ` Vincent Belaïche
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=jwvzl7fh99y.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dak@gnu.org \
--cc=emacs-devel@gnu.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 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.