Hi all

It's been quite some time that I wonder if it makes any difference in speed to use one of those ($ in JQuery or Mootools) :

$('div#SomeId') vs $('SomeId')

and also in CSS :

#SomeId {} vs div#SomeId{}

and

.SomeClass {} vs div.SomeClass {}

Do you think it makes any difference at all ?