[issue15328] datetime.strptime slow

R. David Murray report at bugs.python.org
Wed Jul 11 16:12:27 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

Thanks for the report.  However, do you have a patch to propose?  Otherwise I'm not sure there is a reason to keep this issue open...one can always say various things are slow; that by itself is not a bug.  Performance enhancement patches are welcome, though.

If you are proposing adding an LRU cache, I think it may be that that should be left up to the application, as you did in your case.  I'm not convinced there would be enough general benefit to make it worth adding to the stdlib, since the characteristics of date parsing workloads probably vary widely.

----------
nosy: +belopolsky, r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15328>
_______________________________________


More information about the Python-bugs-list mailing list