Email list hosting service & mailing list manager


Re: Developing on separate git fork and left-over SRFI 122 issues, particularly immutable specialized arrays. Bradley Lucier 29 Apr 2020 15:29 UTC

On 4/28/20 4:31 PM, John Cowan wrote:
> What convinced you that a standard wrapper around mutable arrays that
> made them general arrays without a writer method was insufficient.

(array-assign! destination source)

can do a block copy using memmove from source to destination if the
arguments are specialized arrays, they have the same storage class, and
the elements to be moved are in order and adjacent, even if source is
immutable.

That's not true if source is an immutable array wrapper around a
specialized array.

Brad