emacs-devel
[Top][All Lists]
Advanced

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

Re: Pushing the `gnus-range-*' functions down into the C layer


From: Lars Magne Ingebrigtsen
Subject: Re: Pushing the `gnus-range-*' functions down into the C layer
Date: Fri, 10 Sep 2010 17:26:59 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Integers are not transparently promoted to floats depending on size.
> Bignums are somewhat pointless if that isn't the case.

Yup.

> But then integers of equal value are eq (and it is easy enough to need
> to make use of that by using assq and similar).  Equal bignums, being
> variable size, can't handily be eq unless they are kept behind hashes
> making sure that at any given time, all bignums of equal value are
> kept in the same storage location.

Well, that's the case in Common Lisp, but it needn't be in Emacs Lisp.
`eq' could just use `=' as the comparison function for bignums.  Even
though that would be a non-traditional way of doing it.

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

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