[racket] Super basic question about strings

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Nov 17 13:48:00 EST 2010

On Nov 17, 2010, at 1:17 PM, Eli Barzilay wrote:

> 10 minutes ago, Matthias Felleisen wrote:
>> 
>> The bottleneck is format. [...]
> 
> The main bottleneck is using format with "~s" -- it's big enough to
> shadow other changes. 

Eli is correct. 

Changing from ~s to ~a makes ALL of our versions almost twice as fast as Neil's. 
Not using format at all is still the fastest way to go. 

Functional programming remains better than imperative programming. 

Posted on the users mailing list.