Nexus Weblogging
ChinaonRails
You are here ChinaonRails > 敏捷 > > metaprogramming 会拖累速度吗?

bd7lx


58.247%

disconnected
登录后回复主题 | 跳到回复(1)

metaprogramming 会拖累速度吗?

... by bd7lx ... 4 月 7 天前 ... 85 次点击

http://www.railsontherun.com/2008/5/4/avoid-using-metaprogramming

The metaprogramming version of the same implementation is almost 3 times slower!

1 - 6-18 15:28
bd7lx 楼主 深圳
结论metaprogramming 可以快到与不用一样的水平,但经过优化过后代码的易读性和可维护性受到影响



http://railsontherun.com/2008/6/18/about-metaprogramming-speed
看完之后有话想说?那就帮楼主加盖一层吧!

在回复之前你需要先进行登录
电子邮件或昵称
密码
© 2007 A Jesse Cai Production   -   About   -   京ICP备07020911号
a site powered by Project Babel