I'm confused...
I'm confused...
Posted Oct 1, 2018 7:11 UTC (Mon) by jtaylor (subscriber, #91739)In reply to: I'm confused... by pr1268
Parent article: Nuitka 0.60 released
Posted Oct 1, 2018 14:39 UTC (Mon)
by jamesh (guest, #1159)
[Link] (1 responses)
I guess the main opportunities for optimisation would come from identifying occasions when it is safe _not_ to use the libpython API. For example, if you know the two values you are adding are integers then generate code that adds two ints rather than calling PyNumber_Add() on two PyObjects.
Posted Oct 1, 2018 15:10 UTC (Mon)
by kayhayen (guest, #127589)
[Link]
I call it graceful degradation. Code that can be fast should be. And if you go all in on special Python features it will become less optimized, but still faster.
Obviously a very hard project that I am in there, but from now on I am hoping to improve performance with every release for the 0.6.x series, whereas 0.5.x had 33 teleases preparing that in the background mostly.
Yours,
I'm confused...
I'm confused...
Kay (Author of Nuitka)
