Please, conform Chain2Sequence to AccelerateBuffer

Subj

Also would to thank for the windows algorithm

Chain2Sequence cannot conform to AccelerateBuffer because the elements of the resulting sequence are not contiguous in memory.

(Technically it could conform by creating a new array and copying all the elements into it before executing the closure, but that would be a serious performance hazard, since performing multiple operations would require constructing new contiguous storage for each call. It's much, much better to let users create that Array once and then reuse it across multiple calls.)

1 Like