Comment on A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards)parentComments−aidenn09moThe question is if the calculation could be made even more efficient by reducing to 32 bits, or maybe even just 16 bits.This is somewhat moot considering that 64-bits is the native width of most modern computers and Unix time will exceed 32-bits in just 12 years.−layer89moI meant reducing the representable year numbers, not the whole timestamp.
Comments
This is somewhat moot considering that 64-bits is the native width of most modern computers and Unix time will exceed 32-bits in just 12 years.
I meant reducing the representable year numbers, not the whole timestamp.