# \[ANN\] SumTypes.jl v0.4

**URL:** <https://discourse.julialang.org/t/ann-sumtypes-jl-v0-4/97038>\
**Category:** Package Announcements\
**Created:** [April 4, 2023, 12:26am UTC](https://discourse.julialang.org/t/ann-sumtypes-jl-v0-4/97038 "2023-04-04T00:26:22Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [April 10, 2023, 7:51pm UTC](https://discourse.julialang.org/t/ann-sumtypes-jl-v0-4/97038/21 "2023-04-10T19:51:02Z")

</div>

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](https://discourse.julialang.org/t/plot-a-circle-with-a-given-radius-with-plots-jl/23295/8)

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.

---

_[View the full topic](https://discourse.julialang.org/t/ann-sumtypes-jl-v0-4/97038)._
