diff --git a/README.md b/README.md index 4f9e043a7..6d71d9d04 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Lo-Dash v0.1.0 -A drop-in replacement for [Underscore.js](https://github.com/documentcloud/underscore/) that delivers **up to 8x performance improvements**, bug fixes, and additional features. +A drop-in replacement for [Underscore.js](https://github.com/documentcloud/underscore/) that delivers up to [8x performance improvements](http://jsperf.com/lodash-underscore#chart=bar), [bug fixes](https://github.com/bestiejs/lodash/blob/master/test/test.js#L71), and additional features. ## BestieJS @@ -13,6 +13,14 @@ Underscore's [documentation](http://documentcloud.github.com/underscore/) may al For a list of upcoming features, check out our [roadmap](https://github.com/bestiejs/lodash/wiki/Roadmap). +## So What's The Secret? + +Lo-Dash's performance is gained by avoiding native methods, instead opting for simplified non-ES5 compliant methods optimized for common usage, and by leveraging function compilation to reduce the number of overall function calls. + +## What else? + +Lo-Dash comes with AMD loader support baked in, chainable `_.each`, and will [soon address](https://github.com/bestiejs/lodash/wiki/Roadmap) cross-browser object iteration issues. + ## Installation and usage In a browser: diff --git a/test/test.js b/test/test.js index 37e059687..dc6f23364 100644 --- a/test/test.js +++ b/test/test.js @@ -135,7 +135,7 @@ test('should call custom `toArray` method of an array', function() { var array = [1, 2, 3]; - array.toArray = function() { return [3, 2, 1] }; + array.toArray = function() { return [3, 2, 1]; }; deepEqual(_.toArray(array), [3, 2, 1]); });