unicode-org / icu4x

Solving i18n for client-side and resource-constrained environments.
https://icu4x.unicode.org
Other
1.36k stars 174 forks source link

Investigate whether calendrical calculations can be sped up #5562

Open robertbastian opened 2 weeks ago

robertbastian commented 2 weeks ago

Paper: https://arxiv.org/abs/2102.06959 Talk: https://www.youtube.com/watch?v=0s9F4QWAl-E

Interesting slide:

Screenshot 2024-09-19 at 18 17 10

I think we're using the Reingold/Dershowitz algorithms, so looks like we can do a lot better.

sffc commented 2 weeks ago

We have put some time into improving the performance of the Reingold-Dershowitz algorithms, and they are substantially faster in our Rust implementation than in Lisp for instance, but I don't know how the benchmarks compare.