From: Pete S. <pe...@sh...> - 2000-08-26 11:33:02
|
> Did anybody try to use Python2C ( http://www.mudlib.org/~rassilon/p2c/ ) > to squeeze that extra ounce of performance? i haven't tried python2c just yet. i've done a couple things here and there to see if i could get a 'free' performance boost. while it might help some, i doubt python2c would show much of a real performance help. you're likely better off trying to find a better algorithm. nonetheless, i am curious, if someone has the time to do some quick benchmarking with and without python2c i'd love to see the results. awhile ago i tried seeing if stackless python would make any difference with pysdl performance. the results were almost identical. maybe a 1 fps improvement in a couple cases, but nothing to get excited about (or even bother switching) i would guess there would be some benefit from Michael Hudson's bytecode hacks (inlining functions, etc) but they seem pretty technical and unproven. nonetheless, some day i'd like to see what's possible by playing with it. |