[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making 'eq' == 'eql' in bignum branch
From: |
Andy Moreton |
Subject: |
Re: Making 'eq' == 'eql' in bignum branch |
Date: |
Mon, 20 Aug 2018 09:49:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (windows-nt) |
On Mon 20 Aug 2018, Paul Eggert wrote:
> Pip Cet wrote:
>> I think references to most-positive-fixnum (and implicit ones, like
>> using Frandom without an argument) should be eliminated. Fixnum range
>> is now an implementation detail.
There will always be a performance diffrence between fixnum and bignum
values, and it may be useful for performance tuning to have a simple way
to discover where that boundary lies.
> I tend to agree. Also, we should remove the fixnump and bignump functions;
> these functions certainly don't need to be in C code and I don't see why they
> even need to be present at all. We shouldn't be giving users the impression
> that the distinction between fixnums and bignums is important.
These are used in the tests to ensure that implementation is correct,
and that values in fixnum range are always represented as fixnums, not
bignums. How do you propose to test that without these predicates ?
AndyM
- Re: Making 'eq' == 'eql' in bignum branch, (continued)
- Re: Making 'eq' == 'eql' in bignum branch, Elias MÃ¥rtenson, 2018/08/10
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/19
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/19
- Re: Making 'eq' == 'eql' in bignum branch, Pip Cet, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Pip Cet, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch,
Andy Moreton <=
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Andy Moreton, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Andy Moreton, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Pip Cet, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Andy Moreton, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Richard Stallman, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/08/20