I think you'll want an answer from Stefan, Jeff, Keno, Jameson or Viral to get 
a better review, but my sense is that multiple dispatch is primarily costly at 
compile time and pays close to zero cost at run-time. Within a function body, 
if the types of variables don't change, then the choice of which methods for 
"+" to call are already perfectly determined by the time the function body is 
being exeuted.

 -- John

On Dec 5, 2014, at 8:41 AM, Ronald L. Rivest <rivest....@gmail.com> wrote:

> Multiple dispatch is a unique and interesting feature of Julia...
> 
> How is it implemented? 
> 
> What is the overhead incurred by multiple dispatch?  (Esp. if there are a 
> large
> number of methods, as for "+" ?).
> 
> Cheers,
> Ron

Reply via email to