Subject: Re: How can i make "case" to use equal?
From: Erik Naggum <>
Date: Thu, 06 Sep 2001 20:16:27 GMT
Newsgroups: comp.lang.lisp
Message-ID: <>

* Thomas F. Burdick
> The one thing I would have done differently from your version would be
> to special-case EQL to make it expand into a normal CASE form.

  It would be a wasted gethash call, but otherwise no different at all.
  So I am not sure what you think would be so different.

> I'm guessing that would give better performance for things like
>   (case x 
>     (0 ...)
>     (1 ...)
>     (2 ...)
>     ...
>     (15 ...))
> where you've already told the compiler that X is [0, 15].

  Nothing would happen to these keys, and the case would do exactly the
  same as without my code.

  If you did not specifically refer to my code but replied to my article,
  anyway, ignore this.  Replying to a slightly different article than you
  appear to is normal on USENET, but it is still a little confusing.