[racket] Performance help

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Jan 2 15:24:50 EST 2015

On Fri, Jan 2, 2015 at 2:12 PM, Greg Hendershott
<greghendershott at gmail.com> wrote:
>> Would it help to use an eq? hash and turn all of the strings into
>> symbols (hopefully up front)? That might make the hashing part faster
>> in the best-known function.
>
> Good idea. But unless I made a mistake, no, that's twice as slow, not
> faster. All the string->symbol conversions seem to outweigh the faster
> hash lookups.

Ah, sorry.

Robby

Posted on the users mailing list.