When I open jQuery's source code I find this line.
var
// Will speed up references to window, and allows munging its name.
window = this
Why and how this line will speed up?
this
== window
). "window = this;"
simply creates a local identifier in that scope so that references to it do not have to "bubble up" outside of the local scope to resolve.