This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | belopolsky |
|---|---|
| Recipients | belopolsky, cvrebert, eric.araujo, eric.smith, ezio.melotti, lemburg, mark.dickinson, ncoghlan, skrah, vstinner |
| Date | 2013年06月14日.01:43:37 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1371174218.35.0.775547858789.issue10581@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
PEP 393 implementation has already added the fast path to decimal encoding: http://hg.python.org/cpython/diff/8beaa9a37387/Objects/unicodeobject.c#l1.3735 What we can do, however, is improve performance of converting non-ascii numerals by looking up only the first digit's value and converting the rest using simple: value = code - (first_code - first_value) if not 0 <= value < 10: raise or fall back to UCD lookup |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013年06月14日 01:43:38 | belopolsky | set | recipients: + belopolsky, lemburg, mark.dickinson, ncoghlan, vstinner, eric.smith, ezio.melotti, eric.araujo, cvrebert, skrah |
| 2013年06月14日 01:43:38 | belopolsky | set | messageid: <1371174218.35.0.775547858789.issue10581@psf.upfronthosting.co.za> |
| 2013年06月14日 01:43:38 | belopolsky | link | issue10581 messages |
| 2013年06月14日 01:43:37 | belopolsky | create | |