4 ms·
There's an overview here: https://docs.julialang.org/en/v1.0.0/devdocs/isbitsunionarrays/ https://docs.julialang.org/en/v1.0.0/devdocs/isbitsunionarra... In te
by iamed2 8y ago
There's an overview here: https://docs.julialang.org/en/v1.0.0/devdocs/isbitsunionarrays/ https://docs.julialang.org/en/v1.0.0/devdocs/isbitsunionarra...
In terms of the Julia changes that were needed to support this, there were two key PRs:
https://github.com/JuliaLang/julia/pull/20593 https://github.com/JuliaLang/julia/pull/20593
https://github.com/JuliaLang/julia/pull/22441 https://github.com/JuliaLang/julia/pull/22441
- Athas 8y agoThanks, this looks about as I expected. The real problem occurs when you have an array of union types, where sum of the union cases are themselves way, which it does not look like Julia does anything clever about (because it's not even clear to me that it's even possible).