ruby/internal
John Hawthorn 6a62a46c3c Read {max_iv,variation}_count from prime classext
MAX_IV_COUNT is a hint which determines the size of variable width
allocation we should use for a given class. We don't need to scope this
by namespace, if we end up with larger builtin objects on some
namespaces that isn't a user-visible problem, just extra memory use.

Similarly variation_count is used to track if a given object has had too
many branches in shapes it has used, and to use too_complex when that
happens. That's also just a hint, so we can use the same value across
namespaces without it being visible to users.

Previously variation_count was being incremented (written to) on the
RCLASS_EXT_READABLE ext, which seems incorrect if we wanted it to be
different across namespaces
2025-05-29 16:02:07 -04:00
..
2025-05-11 23:32:50 +09:00
2025-05-08 07:58:05 +02:00
2025-05-11 23:32:50 +09:00
2025-05-11 23:32:50 +09:00
2025-05-26 10:31:54 +02:00
2025-01-20 10:31:36 -05:00
2025-05-11 23:32:50 +09:00