3 ms·
> one easy speedup hack is caching the UNIX epoch for the current day start and adding the HH:MM:SS manually Side note, this is a really great example of why y
by dataflow 3y ago
> one easy speedup hack is caching the UNIX epoch for the current day start and adding the HH:MM:SS manually
Side note, this is a really great example of why you'd want an operation such as parsing to be state-mutating when you'd normally expect it not to. i.e. why it makes sense to support passing a Parser object rather than just a parse() function, even for operations where you don't think it's necessary at first glance.