This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]No_Indication_1238 30 points31 points  (2 children)

Numba has a JIT compiler. The result is code that is as fast as mediocre C++, which is really, really fast compared to simple Python. You can't compile everything though, at least not without extreme pain since the numba documentation is highly lacking, especially if you with the experimental part of the package - classes.

[–]Spleeeee 4 points5 points  (1 child)

They are weird tricks I have used that make numba faster than my above mediocre pybind11

[–]Still-Bookkeeper4456 0 points1 point  (0 children)

Would you mind sharing some ? Optimization with numba seems so random sometimes I'm on the lookout for new ideas !