[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Code for converting between Elisp and Calc floats
From: |
Stefan Monnier |
Subject: |
Re: Code for converting between Elisp and Calc floats |
Date: |
Sun, 25 Oct 2009 09:57:49 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> 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
- Re: Code for converting between Elisp and Calc floats, (continued)
- Re: Code for converting between Elisp and Calc floats, Stefan Monnier, 2009/10/22
- Re: Code for converting between Elisp and Calc floats, Jay Belanger, 2009/10/24
- Re: Code for converting between Elisp and Calc floats, Stefan Monnier, 2009/10/24
- Re: Code for converting between Elisp and Calc floats, David Kastrup, 2009/10/25
- RE: Code for converting between Elisp and Calc floats, Vincent Belaïche, 2009/10/25
- Re: Code for converting between Elisp and Calc floats, Chong Yidong, 2009/10/25
- RE: Code for converting between Elisp and Calc floats, Vincent Belaïche, 2009/10/25
- Re: Code for converting between Elisp and Calc floats, Stefan Monnier, 2009/10/25
- RE: Code for converting between Elisp and Calc floats, Vincent Belaïche, 2009/10/26
- Re: Code for converting between Elisp and Calc floats, Stefan Monnier, 2009/10/26
- Re: Code for converting between Elisp and Calc floats,
Stefan Monnier <=
- Re: Code for converting between Elisp and Calc floats, Eli Zaretskii, 2009/10/25
- Large files (was: Code for converting between Elisp and Calc floats), Stefan Monnier, 2009/10/25
- Re: Code for converting between Elisp and Calc floats, Richard Stallman, 2009/10/23
- Re: Code for converting between Elisp and Calc floats, David Kastrup, 2009/10/23
- Re: Code for converting between Elisp and Calc floats, Richard Stallman, 2009/10/24