in reply to Perl keyword like the C/C++ keyword 'inline'

sadarax:

Do you have something that's running too slowly? ... or are you thinking of doing a pre-emptive optimization?

If the former, you might present the code and someone here might have a way to improve it. If it's the latter, you're probably wasting your time. It's generally better to have something work and then improve it if it needs it. Otherwise, just move on to the next task in the queue!

...roboticus
  • Comment on Re: Perl keyword like the C/C++ keyword 'inline'

Replies are listed 'Best First'.
Re^2: Perl keyword like the C/C++ keyword 'inline'
by sadarax (Sexton) on Sep 29, 2009 at 09:11 UTC
    Currently nothing is slow. The program is already written and I'm just going through improving the code style by separating repeated portions out into functions. This made me wonder about optimizations and this is just curiosity.