It is most probably the copying of the argument list (the full array) in the function call that takes this time difference.
Passing a reference to the array would probably solve the issue, but the syntax would become less obvious to use.
In reply to Re^3: new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )
by Laurent_R
in thread new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |