Re: [racket-dev] [plt] Push #26936: master branch updated

2013-06-06 Thread Robby Findler
Can't we do better than a memo table? On Thursday, June 6, 2013, wrote: stamourv has updated `master' from 5ea3a1ce6d to 6e8c9ed15a. http://git.racket-lang.org/plt/5ea3a1ce6d..6e8c9ed15a =[ 2 Commits ]== Directory summary: 82.9%

Re: [racket-dev] [plt] Push #26936: master branch updated

2013-06-06 Thread Carl Eastlund
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? Carl Eastlund On Thu, Jun 6, 2013 at 6:35 PM, Robby Findler ro...@eecs.northwestern.eduwrote: Can't we do better than a memo table? On Thursday, June 6,

Re: [racket-dev] [plt] Push #26936: master branch updated

2013-06-06 Thread Vincent St-Amour
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

Re: [racket-dev] [plt] Push #26936: master branch updated

2013-06-06 Thread Vincent St-Amour
Maybe. I'll see if I can think of a better solution. Vincent At Thu, 6 Jun 2013 17:35:50 -0500, Robby Findler wrote: Can't we do better than a memo table? On Thursday, June 6, 2013, wrote: stamourv has updated `master' from 5ea3a1ce6d to 6e8c9ed15a.

Re: [racket-dev] [plt] Push #26936: master branch updated

2013-06-06 Thread Carl Eastlund
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.eduwrote: At Thu, 6 Jun 2013 18:39:57 -0400, Carl Eastlund