diff options
author | Daniel Llorens <daniel.llorens@bluewin.ch> | 2015-12-09 13:10:48 +0100 |
---|---|---|
committer | Daniel Llorens <daniel.llorens@bluewin.ch> | 2016-07-11 09:11:50 +0200 |
commit | b854d0f34aeb573ec724484225d5067bb52863d6 (patch) | |
tree | 93163bffc24a8f4f15604bda9fafa37fc6c20dd9 /doc/ref/api-debug.texi | |
parent | ffd949e59740745c2b9a9f73dffa70878be0b344 (diff) | |
download | guile-b854d0f34aeb573ec724484225d5067bb52863d6.tar.gz |
Special case for array-map! with three arguments
Benchmark:
(define type #t)
(define A (make-typed-array 's32 0 10000 1000))
(define B (make-typed-array 's32 0 10000 1000))
(define C (make-typed-array 's32 0 10000 1000))
before:
scheme@(guile-user)> ,time (array-map! C + A B)
;; 0.792653s real time, 0.790970s run time. 0.000000s spent in GC.
after:
scheme@(guile-user)> ,time (array-map! C + A B)
;; 0.598513s real time, 0.597146s run time. 0.000000s spent in GC.
* libguile/array-map.c (ramap): Add special case with 3 arguments.
Diffstat (limited to 'doc/ref/api-debug.texi')
0 files changed, 0 insertions, 0 deletions