Currently they use a hardcoded u32 discriminant, which is quite a lot of room considering that generators don't typically have billions of states. They should be able to use the smallest unsigned integer type that fits all states instead (so u8 in the vast majority of cases).
Currently they use a hardcoded
u32discriminant, which is quite a lot of room considering that generators don't typically have billions of states. They should be able to use the smallest unsigned integer type that fits all states instead (sou8in the vast majority of cases).