|
|
|
|
|
by socialdemocrat
1905 days ago
|
|
The combination. E.g multiple dispatch without JIT would be really slow as you are picking a method to run at runtime based on the type of all the function arguments. That requires a linear search through a list of all possible combinations of input arguments. In a single dispatch language like most object oriented languages, you can do a simple dictionary/hash table lookup. Much faster. With the JIT Julia is able the optimize away most of these super slow lookups at runtime. Hence you get multiple dispatch for all functions but with fantastic performance. Nobody had done that before. |
|