3 ms·
This is true for many functions, but afaik the llvm code is only generated for a function paired with the types of the arguments that it was called with. Since
by galenlynch 5y ago
This is true for many functions, but afaik the llvm code is only generated for a function paired with the types of the arguments that it was called with. Since Julia functions are for the most part 'generic' and work with a wide range of argument types, you would have to restrict the compiled binary or library to a specific set of argument types. Some functions also have type instability and can't be made into pure llvm.