Ruby 4.0.10p0 (2026-11-19 revision a704b7cd95a42cc0cf5f307137bf3aac0285b915)
RArray::[union].as Union Reference

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.

Detailed Description

Array's specific fields.

Definition at line 134 of file rarray.h.

Field Documentation

◆ ary

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.


The documentation for this union was generated from the following files: