Y
Hacker News
new
|
ask
|
show
|
jobs
by
weakfish
2072 days ago
Forgive my ignorance, I'm not super knowledgable on the subject but does this mean you just add decorators to existing functions with typing and it enhances the speed?
1 comments
b5n
2071 days ago
Yes, but types not required.
from numba import jit @jit def jitted_fn():
https://numba.readthedocs.io/en/stable/user/jit.html
link
weakfish
2070 days ago
So, does that mean Numba performs some sort of type inference on Python?
link