On Mon 11 Jun 2012 13:55, l...@gnu.org (Ludovic Courtès) writes:

> What about using copying (or rather, copy-on-write) sub-bytevectors to
> start with?  That would avoid the aliasing issue; OTOH COW would make
> the implementation more complex.

Not a bad idea.  The FFI can still introduce aliasing, though I don't
know if that matters.  Alignment is still a problem though.  Plus it's a
bit more complexity, though an optimizer should be able to do something
about that.

I'll see how much work an implementation would be.

Andy
-- 
http://wingolog.org/

Reply via email to