Comment by alfiedotwtf

1 day ago

While pair programming, we spent about 2 hours looking at one function, trying to optimise it. We made a hell of a lot of changes trying to cut it down from 400ms to under 40ms. Ended up getting to to around 22ms but that was as much as we could squeeze.

... and I got up to go back to my desk, AS A JOKE I highlighted the function and said "make this faster". 12ms. Blown away.