|
Ruby 4.0.7p0 (2026-09-15 revision 229531a6cfbf07e3caef30dbac24a2a3f3fed482)
|
Array's specific fields. More...
Data Structures | |
| struct | [struct].as.heap |
| Arrays that use separated memory region for elements use this pattern. More... | |
Data Fields | |
| struct | heap |
| const VALUE | ary [1] |
| Embedded elements. | |
| const VALUE RArray::[union].as[1] |
Embedded elements.
When an array is short enough, it uses this area to store its elements. In this case the length is encoded into the flags.