Maps an expression across an array a, using an index named idx, and
return value named ret, initialized to a clone of a, then setting
each element of ret to the evaluation of expr, returning the new
array ret.
(defan-array(int-array25000(int0)))user=>(time(amap^intsan-arrayidxret(+(int1)(aget^intsan-arrayidx))))"Elapsed time: 14.708653 msecs";; Note: without type hinting the performance of would not be good.