mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
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.
This commit is contained in:
parent
7fda741f6e
commit
7424ea184f
Notes:
git
2022-07-15 22:21:27 +09:00
14 changed files with 216 additions and 74 deletions
2
debug.c
2
debug.c
|
@ -53,7 +53,9 @@ const union {
|
|||
rb_econv_result_t econv_result;
|
||||
enum ruby_preserved_encindex encoding_index;
|
||||
enum ruby_robject_flags robject_flags;
|
||||
#if !USE_RVARGC
|
||||
enum ruby_robject_consts robject_consts;
|
||||
#endif
|
||||
enum ruby_rmodule_flags rmodule_flags;
|
||||
enum ruby_rstring_flags rstring_flags;
|
||||
#if !USE_RVARGC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue