jquery/jquery — pull request #741 by dmethvin (2012-04-18 15:52:18+00:00)
Title: Remove $("body") case in favor of $(document.body)

I am not sure why we want to special-case `$("body")`, especially at the cost of 26 bytes. `$(document.body)` is actually 2x faster so that's the best way to get the body element. I doubt this is a hot code path for anyone.

If a special case is good, perhaps a more general check for tags that uses `getElementsByTagName` since that will lift more boats?

http://jsperf.com/body-vs-head

jQuery Size - compared to last make
252300 (-246) jquery.js
93733 (-99) jquery.min.js
33325 (-26) jquery.min.js.gz