Jeff talked about some of the implementation details in his JuliaCon presentation (see around :22 and :29 at least): https://www.youtube.com/watch?v=osdeT-tWjzk
At a slightly higher level, Stefan's notebook is very informative: http://nbviewer.ipython.org/gist/StefanKarpinski/b8fe9dbb36c1427b9f22 (for some reason InfoQ still hasn't unlocked the associated talk video) On Fri, Dec 5, 2014 at 11:45 AM, John Myles White <[email protected]> wrote: > 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 <[email protected]> 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 > >
