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: Tue, 31 Jul 2018 15:21:11 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 07/31/2018 08:08 AM, Drew Adams wrote:
What indications are there that many uses of floats involve round numbers? I 
guess conversion of integers would be the main source. But do we have any 
quantitative info regarding relative frequency?

In the 'make compile-always' benchmark where Emacs compiles all its own .el files, 85% of the floating-point objects that Emacs creates have the low-order three bits zero. Of course this percentage is benchmark-specific; still, for this benchmark most of Emacs's floating point numbers come from things like hash-table parameters and suchlike; that is, even though they may not be integers they are "round numbers" in the sense that you mention.




reply via email to

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