ParentFull threadtignaj·Here is a fairly efficient version of a simple union like that I did a while back https://github.com/tigrannajaryan/govariantView on HN