Message 74246 - Python tracker
Message74246
| Author | vstinner |
|---|---|
| Recipients | HWJ, amaury.forgeotdarc, bboissin, benjamin.peterson, djc, dlitz, draghuram, gvanrossum, loewis, pitrou, vstinner, zegreek |
| Date | 2008-10-03.12:23:28 |
| SpamBayes Score | 0.00042622729 |
| Marked as misclassified | No |
| Message-id | <1223036609.8.0.800099166141.issue3187@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
path=path is useless most of the code (unicode path), this code is
faster if both cases (bytes or unicode)!
if not isinstance(path, str):
path = bytes(path)
* a if b else c: unicode=0.756730079651; bytes=1.93071103096
* if test: path=...: unicode=0.681571006775; bytes=1.88843798637 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-10-03 12:23:30 | vstinner | set | recipients: + vstinner, gvanrossum, loewis, amaury.forgeotdarc, pitrou, draghuram, benjamin.peterson, djc, HWJ, dlitz, zegreek, bboissin |
| 2008-10-03 12:23:29 | vstinner | set | messageid: <1223036609.8.0.800099166141.issue3187@psf.upfronthosting.co.za> |
| 2008-10-03 12:23:29 | vstinner | link | issue3187 messages |
| 2008-10-03 12:23:28 | vstinner | create | |