Good point.  Might be an argument for a
procedure-closure-contents-hash-code function.  Of course, never mind that
if you can forego memoization entirely.

Carl Eastlund

On Thu, Jun 6, 2013 at 7:46 PM, Vincent St-Amour <stamo...@ccs.neu.edu>wrote:

> At Thu, 6 Jun 2013 18:39:57 -0400,
> Carl Eastlund wrote:
> > Also if you're going to memoize things, why are you using assoc rather
> than
> > a hash table?  Or if at all possible, a weak hash table?
>
> I'm using `procedure-closure-contents-eq?' as the equality predicate.
> AFAIK, there's no hash table for that.
>
> Vincent
>
>
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to