[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’.
- array-copy! is slow & array-map.c (was: Extremly slow for format & string-join), Daniel Llorens, 2013/04/01
- Re: array-copy! is slow & array-map.c (was: Extremly slow for format & string-join), Daniel Llorens, 2013/04/02
- Re: array-copy! is slow & array-map.c (was: Extremly slow for format & string-join), Daniel Llorens, 2013/04/02
- Re: array-copy! is slow & array-map.c, Ludovic Courtès, 2013/04/03
- Re: array-copy! is slow & array-map.c, Ludovic Courtès, 2013/04/03
- Message not available
- Message not available
- Re: array-copy! is slow & array-map.c, Daniel Llorens, 2013/04/03
- Re: array-copy! is slow & array-map.c, Ludovic Courtès, 2013/04/05
- Re: array-copy! is slow & array-map.c, Daniel Llorens, 2013/04/05
- Re: array-copy! is slow & array-map.c, Ludovic Courtès, 2013/04/05