kupriyanenko / jbone

JavaScript Library for Events and DOM manipulation. Replaces jQuery for Backbone (2.5kb gzipped)
http://jbone.js.org
MIT License
279 stars 35 forks source link

Drastical performance degradation when trying to catch error #14

Closed elprogresivo closed 10 years ago

elprogresivo commented 10 years ago

Drastical performance degradation when trying to catch error. See http://jsperf.com/try-catch-jbone/5 . In ff, perf even worse than when actually making query selector.

kupriyanenko commented 10 years ago

@elprogresivo this try catch used in cases like this: $('#')