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

Re: Re[2]: equalp of structs - speed



     but both functions do essentially the same! clisp ignores type 
     declarations, so it checks the types in my version as much as it does 
     in the built-in.

Both functions do the same thing IF the slots are numbers.
If not, your version calls = on a non number and gets an error
while equalp does not.  I'd expect (= 3 3) to be faster than
(equalp 3 3).