Hi,
I think that SumTypes.jl can be beneficial for our toy collision simulation tool: Plot a circle with a given radius with Plots.jl - #8 by LaurentPlagne
It is used in a lecture on Julia’s multiple dispatch and the performance is improved when we used only two different shapes (via unions) and less good when considering a vector of arbitrary shapes.