emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making 'eq' == 'eql' in bignum branch


From: Paul Eggert
Subject: Re: Making 'eq' == 'eql' in bignum branch
Date: Mon, 30 Jul 2018 14:58:15 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Eli Zaretskii wrote:
aren't we optimizing a rare situation,

Not at all. In practice, floating point computations favor values like 0.0 and 100.0 where the bottom 3 bits of the representation are zero. True, computations involving random floating-point numbers will get such values only 1/8 of the time; but Emacs computations are not typically random.

Any changes in this area should be aimed at typical Emacs usage. If we can get a performance win when Emacs compiles itself, that'd be a good sign, though of course not conclusive.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]