documentcloud/backbone — pull request #1525 by Ask11 (2012-08-06 09:22:43+00:00)
Title: Changed _.isEqual and _.has to native methods

~50% speed improvement for `set` method. Just changed `_.has` to `hasOwnProperty` and `_.isEqual` to `===`

Before:
![Before](http://chart.apis.google.com/chart?chtt=%u2714%20Backbone%20Test%20Suite%7COps/sec%20%28Chrome%2021.0.1180.57%20on%20Intel%20Mac%20OS%20X%2010_8_0%29&chts=000000,10&cht=bhg&chd=t:43274,37664,39479&chds=0,43274&chxt=x&chxl=0:|0|43.3K&chsp=0,1&chm=tModel%3A%20set%20Math.random%28%29%2843.3K%29,000000,0,0,10|tModel%3A%20set%20rand%28%29%20with%20an%20event%2837.7K%29,000000,0,1,10|tModel%3A%20set%20rand%28%29%20with%20an%20attribute%20observer%2839.5K%29,000000,0,2,10&chbh=15,0,5&chs=250x130)
After:
![After](http://chart.apis.google.com/chart?chtt=%u2714%20Backbone%20Test%20Suite%7COps/sec%20%28Chrome%2021.0.1180.57%20on%20Intel%20Mac%20OS%20X%2010_8_0%29&chts=000000,10&cht=bhg&chd=t:67983,44257,46678&chds=0,67983&chxt=x&chxl=0:|0|68K&chsp=0,1&chm=tModel%3A%20set%20Math.random%28%29%2868K%29,000000,0,0,10|tModel%3A%20set%20rand%28%29%20with%20an%20event%2844.3K%29,000000,0,1,10|tModel%3A%20set%20rand%28%29%20with%20an%20attribute%20observer%2846.7K%29,000000,0,2,10&chbh=15,0,5&chs=250x130)