guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: subbytevectors


From: Andy Wingo
Subject: Re: subbytevectors
Date: Mon, 11 Jun 2012 16:01:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

On Mon 11 Jun 2012 13:55, address@hidden (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

[Prev in Thread] Current Thread [Next in Thread]