floraison / et-orbi

Time zones for fugit and rufus-scheduler. Urbi et Orbi.
MIT License
24 stars 11 forks source link

Cache `#rweek` appropriately #37

Closed jmettraux closed 8 months ago

jmettraux commented 8 months ago

As spotted while exploring https://github.com/floraison/fugit/issues/95

Each time #rweek is called, it is recomputed. Since fugit calls it repeatedly (breaks at 2048 iterations) a bit of caching might help. Beware resetting the cache since EoTime is mutable.