|
|
|
|
|
by celrod
1800 days ago
|
|
In practice, Julia's multiple dispatch is almost always devirtualized. That is, dispatch is resolved at compile time. Generic code relies on specialization instead of dynamic dispatches to be generic with respect to input types.
That is, for each new input type, a new method gets compiled (allowing the dispatch to be resolved statically). |
|
Here is the relevant quote from [1]: "In the context of julia though, compile time type simply do not exist ...."
[1]: https://discourse.julialang.org/t/claim-false-julia-isnt-mul...