[squeak-dev] Max source method length? Max string length? Max change set size?

Igor Stasenko siguctua at gmail.com
Wed May 18 14:52:23 UTC 2011


On 18 May 2011 12:15, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> On 18.05.2011, at 04:04, Randal L. Schwartz wrote:
>
>>>>>>> "Casey" == Casey Ransberger <casey.obrien.r at gmail.com> writes:
>>
>> Casey> Do these guys have caps? Any difference between Cog and the
>> Casey> interpreter VM?
>>
>> I hope the 32K limit for method source is still in place.
>
> I don't think there ever was a limit on the method source length in Squeak. I just made a method > 100K.
>
> At least up to the max length of a string. Which is I think 1 GB (SmallInteger maxVal, 2^30 - 1).
>

Yes. I had the same expectation. There is no hardcoded limits for
source code, at least i didn't seen them.
But since source code length ~~ bytecode size ~~ literals number ~~
number of temps
so i wonder if original question, which started this topic were
correct (exactly about source code limits , but not the limits
 incurred by method's and context formats).

> - Bert -
>


-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list