Re: array-total-size-limit, bug?
You may be interrested in the answer I have received from LW:
You are correct, ARRAY-TOTAL-SIZE-LIMIT is set to the wrong value in LispWorks
5.0. This will be fixed in LispWorks 5.1.
The correct value is 67108337 in 32-bit LispWorks. However, the definition of
this constant is rather confusing, because it refers to the largest array of
any element type. In the case of element-type T, you can actually make an
array with up to 134216673 elements in 32-bit LispWorks.
The maximum number of element in an array with element-type T in 64-bit
LispWorks is 536870910.
Francis
Le 25/03/2008 19:24, Raffael Cavallaro écrivait :
>On Mar 21, 2008, at 11:40 AM, Francis Leboutte wrote:
>>Hello,
>>
>>Could you answer to the below question ? (posted on the mailing list
>>on 19 March).
>>
>>Best regards,
>>
>>Francis
>>
>>---
>>
>>Hello,
>>
>>It seems that the value of array-total-size-limit constant is
>>actualy the value of ARRAY-DIMENSION-LIMIT (see below). If it's a
>>bug, is there a patch for this? (want array-total-size-limit to
>>really be 536870911).
>
>It is not uncommon for these two to be the same in lisp
>implementations - after all, in one dimensional arrays they are the
>same thing.
>
>
>Raffael Cavallaro, Ph.D.
>raffaelcavallaro@mac.com