in reply to Re^2: When every microsecond counts: Parsing subroutine parameters
in thread When every microsecond counts: Parsing subroutine parameters

So, what can we do to make it perform better?

If by "it" you mean "our programs" I think the answer is simple - make fewer subroutine calls. If your program is making so many tiny do-nothing calls that parameter parsing or even just subroutine overhead is a significant factor then you're just making too many calls.

It's a fact of life in Perl that method calls cost something (not too much, but not nothing either). That just means you need to make them count!

-sam

  • Comment on Re^3: When every microsecond counts: Parsing subroutine parameters