[Top][All Lists]

[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: Sun, 19 Aug 2018 18:33:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Stefan Monnier wrote:
the time to lookup
up a GMP number in a hash table basically should never be longer than
the time it took to construct this number in the first place

Doesn't a similar argument apply to the cost of construcing an Lisp float (including memory allocation)? If we hashed floats as well as bignums, eq==eql would be trivial.

reply via email to

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