@bugaevc One thing I haven't looked at is the generated code. Presumably the compiler inlines the Orientation implementations into the monomorphized functions, but then again those are mostly identical. A memory/CPU tradeoff, I guess.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!