A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards)(benjoffe.com)
373 points by benjoffe | 87 comments
Ben Joffe's article presenting a 64-bit date conversion algorithm that counts years backwards and needs only 4 multiplications, with an open-source C++ implementation.






