[Top][All Lists]

[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?

reply via email to

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