Function call overhead is relatively high in Perl.
I could be wrong, but if I understand the OP correctly, the function needs in the order of several seconds for just 50 calls. Perl's function call overhead may be high, but it shouldn't be that high...
In reply to Re^2: Some code optimization
by almut
in thread Some code optimization
by roibrodo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |