Not really. There's not enough info in your post but I assume the second version has some_func in the package's EXPORT array. The perfomance penalty is in the actual exporting not in the look-up.
Unless your EXPORT array is insanely huge, the perfomance cost would be down in the noise - I would worry more about namespace pollution and collision before execution time.
If you really care, just Benchmark the two approaches.
In reply to Re: package function calling
by derby
in thread package function calling
by BarMeister
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |