5 ms·
It is alternative to underscore.js? Or extensions for underscore.js? Not clear from the page...
by urza 12y ago
It is alternative to underscore.js? Or extensions for underscore.js? Not clear from the page...
- woah 12y agoIt's supposed to be better, faster, and stronger (more functions) than underscore. It's also under active maintenance from an enthusiastic dev. Do your own research, but I go with lodash.
- jsprogrammer 12y agoLazy.js claims to be even faster than both with support for lazy evaluation to boot. Not quite a drop-in replacement like lodash is, but I think it only requires a minor tweak.
- d4n3 12y agoseems like lodash now has lazy evaluation as well when using the _(obj).method() syntax: http://filimanjaro.com/blog/2014/introducing-lazy-evaluation/ http://filimanjaro.com/blog/2014/introducing-lazy-evaluation...
- killercup 12y agoA new feature in 3.0 is that lodash now supports lazy evaluation using the chaining API from 2.x.
- masklinn 12y agoSo 2.0 code which used chaining is now broken if it doesn't explicitly exhaust the chain?
- je42 12y agoLazy.js is however not that active. I guess the community around it still needs to develop.