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

From: Noel Welsh (noelwelsh at gmail.com)
Date: Sun Jul 24 07:52:29 EDT 2011

Is the C code compiled to vectorised assembler? That could account for
a factor of about 4-16 depending.

N.

On Sat, Jul 23, 2011 at 7:42 PM, John Clements
<clements at brinckerhoff.org> 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 shorts--16-bit-ints--not 32-bit ints.)
>
> John



Posted on the dev mailing list.