Skip to content
  • Aaron Patterson's avatar
    9a6226c6
    Eagerly allocate instance variable tables along with object · 9a6226c6
    Aaron Patterson authored
    This allows us to allocate the right size for the object in advance,
    meaning that we don't have to pay the cost of ivar table extension
    later.  The idea is that if an object type ever became "extended" at
    some point, then it is very likely it will become extended again.  So we
    may as well allocate the ivar table up front.
    9a6226c6
    Eagerly allocate instance variable tables along with object
    Aaron Patterson authored
    This allows us to allocate the right size for the object in advance,
    meaning that we don't have to pay the cost of ivar table extension
    later.  The idea is that if an object type ever became "extended" at
    some point, then it is very likely it will become extended again.  So we
    may as well allocate the ivar table up front.
Loading