Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
meetups323
· 5y ago · 0 comments
Numba (asked by a commenter that haas since deleted:
638.8082504272461 ms
Comments
[–]
PartiallyTyped
5y ago
I asked, run it twice. The first time is for compilation. The second time it reaches 90ms on my machine.
[–]
meetups323
OP
5y ago
Second run was 200ms for me, still 2x node.
[–]
whimsicalism
5y ago
I would expect numba to win, but I also do not think it is a fair comparison.
[–]
PartiallyTyped
5y ago
To be fair, python itself isn't jitting anything, while node is.
[–]
meetups323
OP
5y ago
Numba doesn't really qualify as JIT if what it's really doing is compiling it and caching the results to disk then reading from them in the future for faster execution... that's just a compiler.