I believe that Julia's JIT already does this for generic functions. That is, when it encounters a new set of concrete argument types, it compiles a new specialized version of the function for those particular types.
- [julia-users] specialized functions for unknown types Simon Danisch
- [julia-users] specialized functions for unknown types Jason Merrill
- [julia-users] Re: specialized functions for unknown typ... Simon Danisch
- [julia-users] Re: specialized functions for unknown... Jason Merrill
- [julia-users] Re: specialized functions for unk... Jake Bolewski
- [julia-users] Re: specialized functions for unknown typ... gentlebeldin
- [julia-users] Re: specialized functions for unknown typ... Simon Danisch
- [julia-users] Re: specialized functions for unknown... gentlebeldin
- Re: [julia-users] Re: specialized functions for... Simon Danisch
- Re: [julia-users] Re: specialized functions... Jameson Nash