Daniel Llorens <d...@jast.ch> skribis: > These two patches do it for array-map!. > > The first patch avoids cons for the 1-argument case. The second patch removes > the double indirection for the first two arguments in every case. Since > there's some work done inside the loop, the improvement is smaller than for > array-copy! or array-fill!.
Could you provide a patch that adds test cases for array-map! in arrays.test? I’d like to have a minimal safety net before applying these. TIA, :-) Ludo’.