X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fearly-array.lisp;h=f11ec87fb4649979ed26e97a2ced8180bd694c24;hb=ac93aa515b197d751dad85d70432ebc87fac420a;hp=8e6ea61580fcbf438aa244e91ae6a81eb9c29147;hpb=ec2616d216958a608581802c47496c0194478dc8;p=sbcl.git diff --git a/src/code/early-array.lisp b/src/code/early-array.lisp index 8e6ea61..f11ec87 100644 --- a/src/code/early-array.lisp +++ b/src/code/early-array.lisp @@ -9,14 +9,15 @@ (in-package "SB!IMPL") -(defconstant sb!xc:array-rank-limit 65529 +(def!constant sb!xc:array-rank-limit 65529 #!+sb-doc "the exclusive upper bound on the rank of an array") -(defconstant sb!xc:array-dimension-limit sb!xc:most-positive-fixnum +;;; - 2 to leave space for the array header +(def!constant sb!xc:array-dimension-limit (- sb!xc:most-positive-fixnum 2) #!+sb-doc "the exclusive upper bound on any given dimension of an array") -(defconstant sb!xc:array-total-size-limit sb!xc:most-positive-fixnum +(def!constant sb!xc:array-total-size-limit (- sb!xc:most-positive-fixnum 2) #!+sb-doc "the exclusive upper bound on the total number of elements in an array")