Yes, the compiler normally inlines and eliminates the branches when you call getproperty via a.b. (This is a constant-propagation optimization that was added in Julia 0.7.)
4 Likes
Yes, the compiler normally inlines and eliminates the branches when you call getproperty via a.b. (This is a constant-propagation optimization that was added in Julia 0.7.)