@Rob
It is only true if the complexity of the DOM of those div is as simple
as it is show in your test case.
I have complex-ized the DOM and run the test, it does not show a big
difference in 1000 run one,
but a 1 run show that the selector is faster than POJS.
So Adam, in conclusion, test
On May 6, 10:23 am, Adam flynn...@gmail.com wrote:
Essentially, I'd like to know if there is any difference between
$(div.grandparent div.parent div.child)
and
$(div.grandparent).children(div.parent).children(div.child)
Does anyone know which of these is more performant or preferred
On May 7, 11:54 am, Ricardo ricardob...@gmail.com wrote:
On May 6, 10:23 am, Adam flynn...@gmail.com wrote:
Essentially, I'd like to know if there is any difference between
$(div.grandparent div.parent div.child)
and
$(div.grandparent).children(div.parent).children(div.child)
3 matches
Mail list logo