Message74246
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 |
|
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 | |
|