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.
SHAPE_MAX_NUM_IVS 80
This reduce the size of rb_shape_t from 32B to 24B.
rb_shape_t
If we decide to raise SHAPE_MAX_NUM_IVS we can always increase that type again.
SHAPE_MAX_NUM_IVS
shape.h: Make attr_index_t uint8_t
Given
SHAPE_MAX_NUM_IVS 80
, we transition to TOO_COMPLEXway 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 increasethat type again.