Project

General

Profile

« Previous | Next » 

Revision e3afc212

Added by byroot (Jean Boussier) almost 2 years ago

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.