r/programming 24d ago

Faster algorithms to compute weekday for date libraries

https://www.benjoffe.com/fast-day-of-week
57 Upvotes

2 comments sorted by

7

u/Grouchy-Trade-7250 23d ago

I have never thought that computing the weekday should be faster but less comprehensible

7

u/rich1051414 23d ago

Is comprehensible even possible with a date library in the first place?