|author||Aaron Patterson <email@example.com>||2020-11-04 12:04:23 -0800|
|committer||Aaron Patterson <firstname.lastname@example.org>||2020-11-04 14:40:50 -0800|
Simplify setting instance variables
Since T_OBJECT objects come to life as embedded objects, that means that ROBJECT_NUMIV will always return a _minimum_ of ROBJECT_EMBED_LEN_MAX. If ivup.index is *greater* than ROBJECT_NUMIV, then we know that the object *must not* be an embedded object. Thus we can skip the ROBJECT_EMBED_LEN_MAX check as well as initializing internals of embedded objects.
Notes: Merged: https://github.com/ruby/ruby/pull/3734
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions