Months to bits

I found an interesting blog post about differing approaches to developing a calendar function, leading to a rabbit hole of optimization and resulting in a truly obscene one-line method. You can read the original blog post for yourself here.

Had a lot of fun converting it in to C# and then profiling the performance of the different functions. Have uploaded the code to GitHub here. Would be interested in hearing your opinions on it.

0 comments… add one

Leave a Comment