summaryrefslogtreecommitdiff
path: root/include/ruby/internal/attr
diff options
context:
space:
mode:
authorJean Boussier <byroot@ruby-lang.org>2023-10-10 22:17:30 +0200
committerJean Boussier <jean.boussier@gmail.com>2023-10-11 08:33:09 +0200
commite3afc212ec059525fe4e5387b2a3be920ffe0f0e (patch)
treecf315265d2a60f91186ea4c455ec3a2504ebd79e /include/ruby/internal/attr
parente5d97308f646dc5702ebab3c8d1b6383aaf4ad94 (diff)
shape.h: Make attr_index_t uint8_t
Given `SHAPE_MAX_NUM_IVS 80`, we transition to TOO_COMPLEX way before we could overflow a 8bit counter. This reduce the size of `rb_shape_t` from 32B to 24B. If we decide to raise `SHAPE_MAX_NUM_IVS` we can always increase that type again.
Diffstat (limited to 'include/ruby/internal/attr')
0 files changed, 0 insertions, 0 deletions