title: jQuery performance - select by data-attr or by class?
body: <p>Which is faster and why? Selecting div (for plugin needs) by <code>$('div[data-something]')</code> or <code>$('div.something')</code>? I lean towards the former since it's "cleaner".</p>
  
  <p>Based on <a href="https://stackoverflow.com/questions/6179540/jquery-class-selector-performance-confused">this SO question</a> I know I shouldn't be using both. However I didn't find out whether there is a difference between these.</p>