阅读背景:

为什么Perl中的函数调用循环如此缓慢?

来源:互联网 

I was writing a file parser in Perl, so had to loop through file. File consists of fixed length records and I wanted to make a separate function that parses given record and call that function in a loop. However, final result turned to be slow with big files and my guess was that I shouldn't use external function. So I made some dummy tests with and without function call in a loop:I was writing a file parser in Perl, so had to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: