On Thu, Feb 14, 2013 at 2:15 PM, Robby Findler
<ro...@eecs.northwestern.edu> wrote:
> Is this a bottleneck in some real program? Perhaps you'd share that (or some
> inner loop of it)? I wonder if there is a better way to speed it up than
> this.

`hash-set!` (which, like `hash-update`, is written in Racket and
hashes twice) is a real bottleneck in Typed Racket, in particular the
duplicated hash computation. I believe this is mostly because of
interning, where `equal?` hashes are used.

A version of `hash-update` which hashed only once could (probably)
speed this up significantly.

Sam
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to