title: In jQuery, is selecting by class or id faster than selecting by some other attribute?
body: <p>Basically, is </p>
  
  <pre><code>$("#someid")
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$(".someclass")
  </code></pre>
  
  <p>faster than</p>
  
  <pre><code>$("[someattr='value']")
  </code></pre>
  
  <p>I would imagine that it is (that is, selection by id is fastest, then class, then attribute), but does anyone know for sure?</p>