3 ms·
My guess also. I obviously could not resist and tried it in C#, took me 45 minutes but I admittedly did not bother to bring it to production quality. One could
by danbruc 10y ago
My guess also. I obviously could not resist and tried it in C#, took me 45 minutes but I admittedly did not bother to bring it to production quality. One could certainly spend another hour or even an entire day and optimize it in all kind of ways, from readability to performance. Also the available tools are certainly important - selecting and converting a couple of lines into a new method takes me less than five second or so with ReSharper, those things add up if you have to do it often enough.