[racket-dev] speeding up 16-bit integer adds
On Sep 23, 2010, at 7:55 PM, Matthew Flatt wrote:
> I think the problem is that the `ptr-ref' and `ptr-set!' operations are
> slow. They are slow because they not yet inlined by the JIT, and
> they're not yet inlined because they have complicated APIs (including a
> "pointer" datatype with many variants).
>
> I haven't worked out a way to make them faster or a way to provide
> faster variants, but it's on my list.
Okay, thanks. FWIW, my attempt to use the s16vector variants performs similarly; perhaps these primitives call the same code.
John Clements
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100923/42a8ef65/attachment.p7s>