neo4j / neo4j-python-driver

Neo4j Bolt driver for Python
https://neo4j.com/docs/api/python-driver/current/
Other
883 stars 187 forks source link

[4.4] Improve performance of `from_ordinal` of temporal types. #1047

Closed robsdedude closed 3 months ago

robsdedude commented 3 months ago

Speeds up the function by about a factor of 100 (depending on the exact ordinal chose).

Back port of: https://github.com/neo4j/neo4j-python-driver/pull/1046