diff options
author | Peter Zhu <[email protected]> | 2022-07-11 10:09:39 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2022-07-15 09:21:07 -0400 |
commit | 7424ea184f9d67c1c7f3ee97494ed3bd1aa60833 () | |
tree | 822838e39d81cd2785c970cb45a86854823af6fe /debug.c | |
parent | 7fda741f6e67b809b08423f0d4e903c078da2eed (diff) |
Implement Objects on VWA
This commit implements Objects on Variable Width Allocation. This allows Objects with more ivars to be embedded (i.e. contents directly follow the object header) which improves performance through better cache locality.
Notes: Merged: https://.com/ruby/ruby/pull/6117
-rw-r--r-- | debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -53,7 +53,9 @@ const union { rb_econv_result_t econv_result; enum ruby_preserved_encindex encoding_index; enum ruby_robject_flags robject_flags; enum ruby_robject_consts robject_consts; enum ruby_rmodule_flags rmodule_flags; enum ruby_rstring_flags rstring_flags; #if !USE_RVARGC |