Ben Joffe personal blog

A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards)

Counting years backwards unlocks faster speed. The first date algorithm to use only 4 multiplications, instead of 7+
Points
395
HN comments
94
Submissions
1
Cited by
0 commenters

Math & AlgorithmsSoftware Engineering2025

On Hacker News

SubmittedTitle on HNPointsComments
Nov 23, 2025A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards) by benjoffe39594

More from Ben Joffe

All 3 posts →

Related posts from the same era