Message9637

Author zyasoft
Recipients amak, wdroste, zyasoft
Date 2015-03-12.16:33:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426178037.27.0.383287769717.issue2230@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-03-12 16:33:57zyasoftsetmessageid: <1426178037.27.0.383287769717.issue2230@psf.upfronthosting.co.za>
2015-03-12 16:33:57zyasoftsetrecipients: + zyasoft, amak, wdroste
2015-03-12 16:33:57zyasoftlinkissue2230 messages
2015-03-12 16:33:56zyasoftcreate