Y
Hacker News
new
|
ask
|
show
|
jobs
by
jsprogrammer
4155 days ago
Lazy.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.
3 comments
d4n3
4155 days ago
seems like lodash now has lazy evaluation as well when using the _(obj).method() syntax:
http://filimanjaro.com/blog/2014/introducing-lazy-evaluation...
link
killercup
4155 days ago
A new feature in 3.0 is that lodash now supports lazy evaluation using the chaining API from 2.x.
link
masklinn
4155 days ago
So 2.0 code which used chaining is now broken if it doesn't explicitly exhaust the chain?
link
je42
4154 days ago
Lazy.js is however not that active. I guess the community around it still needs to develop.
link
http://filimanjaro.com/blog/2014/introducing-lazy-evaluation...