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
Timezone calculations currently use Python's zoneinfo module—even in the Rust implementation of whenever. This leaves quite a lot of performance on the table, since dealing with Python classes comes with quite some overhead. An earlier benchmark indicates timezone switches can be 3-4x faster (#145).
Downside is the amount of work required: basically reimplementing big parts of the zoneinfo module. An interesting option is to reuse code from the Jiff crate as suggested here
The text was updated successfully, but these errors were encountered:
Timezone calculations currently use Python's
zoneinfo
module—even in the Rust implementation of whenever. This leaves quite a lot of performance on the table, since dealing with Python classes comes with quite some overhead. An earlier benchmark indicates timezone switches can be 3-4x faster (#145).Downside is the amount of work required: basically reimplementing big parts of the
zoneinfo
module. An interesting option is to reuse code from the Jiff crate as suggested hereThe text was updated successfully, but these errors were encountered: