20:39:55_deathbut confirmed here.. for a 1m elements simple-vector it takes about 3.802 ms for initial-contents vs. 3.236 ms for replace
20:42:00Shinmeramy guess is that supplying initial-contents hits a slow path on transforms.
20:43:23_deathtakes around the same time with speed 3 though
20:43:38pjbWhy not (defun make-array (…) … (when initial-contents (replace array initial-contents))) which should be as fast? (modulo recursion into the dimensions).
20:53:58aethIt depends on what the initial-contents are, of course. If they're a literal list, I think you hit the fast path, at least on SBCL