Message12034
I have changed https://github.com/jythontools/jython/pull/102 to add special casing for the min int case.
I have realised why the benchmark was wrong and it was stupid. I never actually called the function I had:
timeit.timeit('print_int', setup="from __main__ import print_int", number=1000000000)
when it should have been:
timeit.timeit('print_int()', setup="from __main__ import print_int", number=1000000000)
So I guess looking up a function in the globals is faster in Jython for what that's worth. |
|
Date |
User |
Action |
Args |
2018-06-30 12:04:54 | jamesmudd | set | messageid: <1530360294.0.0.56676864532.issue2672@psf.upfronthosting.co.za> |
2018-06-30 12:04:54 | jamesmudd | set | recipients:
+ jamesmudd, jeff.allen, stefan.richthofer |
2018-06-30 12:04:53 | jamesmudd | link | issue2672 messages |
2018-06-30 12:04:53 | jamesmudd | create | |
|