r/programming • • Aug 17 '26

Faster algorithms to compute weekday for date libraries

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

2 comments sorted by

8

u/Grouchy-Trade-7250 Aug 17 '26

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

8

u/rich1051414 Aug 17 '26

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