X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Farray.lisp;h=a3c6793066407521329670cd97939a9104d237a3;hb=dcb73f3edef1e31078fbe585e2fafbd26743efd7;hp=29d54a20bc8c428c9879193355936b0174f05f63;hpb=eb4a67799308fc2e610ca330401c9cb07533143c;p=sbcl.git diff --git a/src/code/array.lisp b/src/code/array.lisp index 29d54a2..a3c6793 100644 --- a/src/code/array.lisp +++ b/src/code/array.lisp @@ -975,7 +975,13 @@ of specialized arrays is supported." ;;;; ZAP-ARRAY-DATA for ADJUST-ARRAY ;;; a temporary to be used when OLD-DATA and NEW-DATA are EQ. -;;; KLUDGE: Boy, DYNAMIC-EXTENT would be nice. +;;; KLUDGE: Boy, DYNAMIC-EXTENT would be nice. This is rebound +;;; to length zero array in each new thread. +;;; +;;; DX is probably a bad idea, because a with a big array it would +;;; be fairly easy to blow the stack. +;;; +;;; Rebound per thread. (defvar *zap-array-data-temp* (make-array 1000 :initial-element t)) (defun zap-array-data-temp (length element-type initial-element