Primitive 157 is an optimisation intended to combine instantiation of an object with initialization of its instance variables from the constructor method arguments. It is used for some classes with instances that are created in high volumes.
Frank Lesser noticed that some of the methods are missing a correct implementation in Smalltalk so that if the primitive is not present (or commented out) the instance creation fails.
Primitive 157 is an optimisation intended to combine instantiation of an object with initialization of its instance variables from the constructor method arguments. It is used for some classes with instances that are created in high volumes.
Frank Lesser noticed that some of the methods are missing a correct implementation in Smalltalk so that if the primitive is not present (or commented out) the instance creation fails.
An example is
Character class>>#newCode: