Message188477
I didn't add the following optimization (proposed by Serhiy in his review) because I'm not convinced that it's faster, and it's unrelated to this issue:
if (width > (PY_SSIZE_T_MAX - 9) / 10
&& width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10)
{ ... }
instead of
if (width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10)
{ ... } |
|
Date |
User |
Action |
Args |
2013-05-05 23:05:27 | vstinner | set | recipients:
+ vstinner, lemburg, mark.dickinson, eric.smith, ron_adam, ezio.melotti, lekma, ysj.ray, python-dev, petri.lehtinen, serhiy.storchaka, Sean.Ochoa |
2013-05-05 23:05:27 | vstinner | set | messageid: <1367795127.19.0.432948564255.issue7330@psf.upfronthosting.co.za> |
2013-05-05 23:05:27 | vstinner | link | issue7330 messages |
2013-05-05 23:05:27 | vstinner | create | |
|