only recurse to 1k
then come up for air an go again.
Should allow for 1M objects on a 2k stack (previously exceptions at 3.6k)
This commit is contained in:
2019-07-28 16:42:40 +03:00
parent 74f3420d45
commit ab87806d08
3 changed files with 85 additions and 25 deletions

View File

@ -152,8 +152,10 @@ module Parfait
Data8: {},
Data16: {},
Dictionary: {i_keys: :List , i_values: :List } ,
Integer: {next_integer: :Integer},
FalseClass: {},
Factory: { for_type: :Type , next_object: :Object ,
reserve: :Object , attribute_name: :Word },
Integer: {next_integer: :Integer},
List: {indexed_length: :Integer , next_list: :List} ,
Message: { next_message: :Message, receiver: :Object, frame: :NamedList ,
return_address: :Integer, return_value: :Object,
@ -162,8 +164,6 @@ module Parfait
NamedList: {},
NilClass: {},
Object: {},
Factory: { for_type: :Type , next_object: :Object ,
reserve: :Object , attribute_name: :Word },
ReturnAddress: {next_integer: :ReturnAddress},
Space: {classes: :Dictionary , types: :Dictionary , factories: :Dictionary,
true_object: :TrueClass, false_object: :FalseClass , nil_object: :NilClass},