Message9637
Tracebacks are even more expensive than I thought. If you look at PyTraceback.java, you can see that PyTraceback#getLine does not even attempt to cache the line, or optimize access to the file by getting multiple lines.
So this means we should at least port Lib/linecache.py to Java to speed things up (https://docs.python.org/2/library/linecache.html), as well as avoid a dependency in Python code for something as critical as the traceback. |
|
Date |
User |
Action |
Args |
2015-03-12 16:33:57 | zyasoft | set | messageid: <1426178037.27.0.383287769717.issue2230@psf.upfronthosting.co.za> |
2015-03-12 16:33:57 | zyasoft | set | recipients:
+ zyasoft, amak, wdroste |
2015-03-12 16:33:57 | zyasoft | link | issue2230 messages |
2015-03-12 16:33:56 | zyasoft | create | |
|