[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making 'eq' == 'eql' in bignum branch
From: |
Eli Zaretskii |
Subject: |
Re: Making 'eq' == 'eql' in bignum branch |
Date: |
Mon, 30 Jul 2018 21:49:16 +0300 |
> From: Stefan Monnier <address@hidden>
> Date: Mon, 30 Jul 2018 13:07:35 -0400
>
> > How likely is it to see a floating-point number with 4 low-order bits
> > of mantissa zero?
>
> For floating point values read from Elisp source code, the probability
> is not bad at all. OTOH for code performing any non-trivial
> calculation, of course, the probably should hover around 1/2^4, so
> pretty low.
That's what I thought. So given this, aren't we optimizing a rare
situation, and OTOH making the code more complex and perhaps less
efficient for the majority of use cases?
- Re: Using the GNU GMP Library for Bignums in Emacs, (continued)
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/07/12
- Re: Using the GNU GMP Library for Bignums in Emacs, Stefan Monnier, 2018/07/15
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/07/18
- Re: Using the GNU GMP Library for Bignums in Emacs, Stefan Monnier, 2018/07/18
- Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/07/27
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/07/28
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/07/28
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/07/29
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/07/29
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/07/30
- Re: Making 'eq' == 'eql' in bignum branch,
Eli Zaretskii <=
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/07/30
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/07/30
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/07/30
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/07/31
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/07/31
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/07/31
- RE: Making 'eq' == 'eql' in bignum branch, Drew Adams, 2018/07/31
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/07/31
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/07/31
- Re: Using the GNU GMP Library for Bignums in Emacs, Eli Zaretskii, 2018/07/18