https://github.com/bestiejs/lodash/ 據說更快
BTW, 都沒用過
啥玩意?
下意识在想是不是山寨… http://jsperf.com/underscore-lodash/3 http://jsperf.com/jquery-each-vs-for-loop/107
lodash表現不錯。
我發現一個問題,一般注重性能的人,起名字會短一些。比如 “lodash”和“underscore”
个人觉得YUI的源码容易读懂,习惯抽出YUI的 一些Util function, 问下用YUI和的
http://yuilibrary.com/yui/docs/api/files/template_js_template-micro.js.html#l181
lodash挺赞的,在我了解到lodash之后,就抛弃underscore了。
挖坟啦
cnodejs的代码里就是lodash
@alsotang 的最爱
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
啥玩意?
下意识在想是不是山寨… http://jsperf.com/underscore-lodash/3 http://jsperf.com/jquery-each-vs-for-loop/107
lodash表現不錯。
我發現一個問題,一般注重性能的人,起名字會短一些。比如 “lodash”和“underscore”
个人觉得YUI的源码容易读懂,习惯抽出YUI的 一些Util function, 问下用YUI和的
http://yuilibrary.com/yui/docs/api/files/template_js_template-micro.js.html#l181
lodash挺赞的,在我了解到lodash之后,就抛弃underscore了。
挖坟啦
cnodejs的代码里就是lodash
@alsotang 的最爱