Re: [racket-dev] can we write these four lines of C in performant racket?

2011-07-25 Thread Matthew Flatt
At Sat, 23 Jul 2011 14:42:15 -0400, John Clements wrote: This C code adds the content of one buffer to another one, with no checking. The corresponding racket code runs about 10x slower. Do you folks think that it should be possible to do better? (One salient fact: these are

[racket-dev] mouse cursor changes cause frequent collections?

2011-07-25 Thread John Clements
I have the log showing right now, and I see that moving the mouse in a way that causes mouse cursor changes (for instance, back and forth between the definitions interactions windows) causes collections of about 32K on the order of every eight to ten mouse cursor changes, something like 2K of