Hi, random question about performance: can the compiler sometimes optimize Union type variables so that there is no boxing or unboxing? For example, if I declare an “optional” integer type like Union{Nothing, Int}
would the compiler be smart enough to keep that on the stack?
Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster here on Discourse so they can follow this thread.
(Original message ) (More Info)