You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.7 added datetime.fromisoformat to the datetime library, which might be another target to add to the benchmarks without timezones for completeness.
Now a few remarks about the function:
It is only meant to parse the result of isoformat, so it isn't super flexible compared to what you provide
I looked at the implementation and while it should be faster than using the equivalent strptime, it is still implemented in pure Python, so it's highly unlikely to beat your implementation.
The text was updated successfully, but these errors were encountered:
Python 3.7 added
datetime.fromisoformat
to the datetime library, which might be another target to add to the benchmarks without timezones for completeness.Now a few remarks about the function:
isoformat
, so it isn't super flexible compared to what you providestrptime
, it is still implemented in pure Python, so it's highly unlikely to beat your implementation.The text was updated successfully, but these errors were encountered: