Sorry, I meant array-copy!. array-copy has too much overhead to begin with.
On Sat, May 27, 2023 at 4:21 AM John Cowan <[email protected]> wrote: > > > (array-copy (array-map inexact array) fxx-storage-class) > >> >> is fairly concise and allocates no more storage than the same >> functionality builtin to array-copy would. >> > > >> It also allows you to use mappers like string->number or an arbitrary >> clipping function like (lambda (x) (if (< x 0.0) 0.0 (if (> x 1.0) 1.0 x))) >> that wouldn't be built in to array-copy. >> >
