为什么不benchmark一下?

2009/10/18 Michael Zeng <[email protected]>:
> map/grep 只是看得舒服,   效率和for 一样的
>
> 对于数组自身的操作(不赋指给另一个新的数组),for 要比 map/grep 效率高
>
>
>
> 2009/10/18 imxae <[email protected]>
>>
>> map的循环不比foreach效率高吗?
>>
>>
>> --
>>            Yours Sincerely
>>                    Zeng Hong
>>
>> >>
>

--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛“PerlChina Mongers 讨论组”论坛。
 要在此论坛发帖,请发电子邮件到 [email protected]
 要退订此论坛,请发邮件至 [email protected]
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

回复