Is it possible to write a Shell script which is faster to the same script in perl?

Posted by JohnJohnGa on Stack Overflow See other posts from Stack Overflow or by JohnJohnGa
Published on 2010-04-24T09:31:35Z Indexed on 2010/04/24 10:03 UTC
Read the original article Hit count: 352

Filed under:
|
|
|

Hi, I wrote multiple scripts in perl & shell and I had compared the real execution time. In all the cases - Perl script is more than 10 times faster than shell script. So i wondered if it possible to write a Shell script which is faster to the same script in perl? and why perl faster than shell although I use the 'system' function in perl script.

Thanks for your help, Regards, JohnJohnGa

© Stack Overflow or respective owner

Related posts about perl

Related posts about shell