guile-devel
[Top][All Lists]
Advanced

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

Re: array-copy! is slow & array-map.c


From: Ludovic Courtès
Subject: Re: array-copy! is slow & array-map.c
Date: Wed, 03 Apr 2013 14:50:24 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

Daniel Llorens <address@hidden> 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’.



reply via email to

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