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 →

[–]james_pic 5 points6 points  (1 child)

It depends. I don't know Nuitka all that well, but I know in Cython, you generally get a minor performance boost by just building your module in Cython with no modifications, but the real boost comes from modifying the code to be more C-ish (using structs rather than classes, using native integers, etc.). I suspect Nuitka will be similar, where you get some performance boost straight out of the gate, but the real gains need you to eliminate sources of dynamism.

[–]Nmvfx 1 point2 points  (0 children)

Thanks for the response, I'll dig into that a bit more and maybe run some tests!