jquery:$("???")什么时候扫描整个DOM?

fly*_*ire 2 javascript jquery

在使用时,$("#xxx")我想在jQuery使用的引擎盖下getElementById.

怎么样$(".xxx")它扫描整个DOM每一次?