On Tuesday, 2 July 2013 at 06:54:58 UTC, bearophile wrote:
Roderick Gibson:
Variant is a possiblity. How is the performance with large
containers of these, since these structures will likely hold
the majority of the data in the game?
You probably have to benchmark yourself. (But I have suggested
an Algebraic).
Bye,
bearophile
I should know the types at compile time, so I will be using it
most likely, but reading the docs it looks like Algebraic is
built on top of the same structure as Variant. Is there any
difference in implementation?