Proposal for a "time zone index" cache to be added to datetime
11 Jan
2019
11 Jan
'19
12:56 p.m.
I have opened bpo-35723: "Add a time zone index cache" https://bugs.python.org/issue35723 on the Python bug tracker, along with an associated proof of concept PR, PR #11529 https://github.com/python/cpython/pull/11529. I propose that some time zone offset information can be optionally cached on the datetime object itself, which could be a significant improvement to performance in tzinfo implementations using the standard interface. I think this would be a very useful change to the datetime object, but it is fairly significant, so I wanted to bring it to the attention of the datetime SIG. If it is deemed necessary, I can write a PEP for this. Best, Paul
1929
Age (days ago)
1929
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Ganssle