On Thu, Aug 27, 2015 at 12:25 PM, Stuart Bishop email@example.com wrote:
I have billions of rows of data in my databases. If I'm dealing with input from computer systems, such as my databases, I will have billions of conversions to do and the overhead of calculating the fold flag is billions of times worse than calculating the isdst flag from the non-bulk human input.
Do you realize that a typical portable implementation of mktime calls localtime up to four times to get tm_isdst? And to get it completely "right", needs up to six calls?  I am sure I can do no worse than that computing the fold value.
: "BUG in mktime" https://www.sourceware.org/ml/libc-hacker/1998-10/msg00027.html