Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
jsprogrammer
11y ago
0 comments
Save
Share
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.
0 comments
4 comments · 3 top-level
top
newest
oldest
killercup
11y ago
· 1 in thread
A new feature in 3.0 is that lodash now supports lazy evaluation using the chaining API from 2.x.
masklinn
11y ago
So 2.0 code which used chaining is now broken if it doesn't explicitly exhaust the chain?
d4n3
11y ago
seems like lodash now has lazy evaluation as well when using the _(obj).method() syntax:
http://filimanjaro.com/blog/2014/introducing-lazy-evaluation...
je42
11y ago
Lazy.js is however not that active. I guess the community around it still needs to develop.
j
/
k
navigate · click thread line to collapse