UnivariateFinite can be overkill for e.g. simple Bool categories.
It looks like they could be at least 50x faster to construct using a custom struct without the LittleDict.
Adding a AbstractUnivariateFinite would allow defining objects that specialised on type.
Currently, the profile using Shapley.jl with Bool categories looks like this:

UnivariateFinitecan be overkill for e.g. simpleBoolcategories.It looks like they could be at least 50x faster to construct using a custom struct without the
LittleDict.Adding a
AbstractUnivariateFinitewould allow defining objects that specialised on type.Currently, the profile using Shapley.jl with

Boolcategories looks like this: