For all you performance junkies, no guarantees tho!

https://gist.github.com/jandom/4bd1610e1892c61fccb0