Message5567

Author zyasoft
Recipients pr3d4t0r, zyasoft
Date 2010-03-15.19:45:25
SpamBayes Score 2.736168e-07
Marked as misclassified No
Message-id <1268682326.7.0.423701831134.issue1571@psf.upfronthosting.co.za>
In-reply-to
Content
Relevant code is PyInteger#int_new, which call PyString#atoi; if an OverflowException, it then tries to build as a PyLong.

We can simply capture the NumberFormatException instead from java.lang.Integer#parseInt. This should reduce overhead accordingly.
History
Date User Action Args
2010-03-15 19:45:26zyasoftsetmessageid: <1268682326.7.0.423701831134.issue1571@psf.upfronthosting.co.za>
2010-03-15 19:45:26zyasoftsetrecipients: + zyasoft, pr3d4t0r
2010-03-15 19:45:26zyasoftlinkissue1571 messages
2010-03-15 19:45:25zyasoftcreate