A faster way to calculate the day-of-the-week

15 points by benjoffe


xnacly

Love to see another one of these ben. Lets see if ill implement this in go as well :)

sunshine

I was so confused when I got to the benchmarks section. I'd recommend either adding a little "smaller numbers = faster" note there like you have on the figure at the top, indicating that the units are nanoseconds (or even just that they're durations at all), or (ideally, IMO) reporting throughput in calls/sec so that higher numbers = faster.

That said, I really enjoyed the article, and the presentation is just beautiful. It reminds me of something but I can't remember what, exactly. The WHATWG specs, maybe? Ugh now this is going to bother me 😭