codon
codon copied to clipboard
the stdlib should be compiled every time the code is compiled, it will be better if cache the stdlib
The challenge here is "generic" functions like
def foo(x):
return x * 3
which can take int
, float
, str
, etc. One idea we've thought about is pre-compiling functions like this for the common types and then linking them (with some LTO so we can still inline etc.).