in reply to Re: Re: Constant subroutines thoughts
in thread Constant subroutines thoughts

I consider optimizer to be really good.

That "point" is about modules, especially core ones, which could be slightly improved.

But even more point for me is to learn from what I wrote and to write a bit better code by not using "almost constant subs" :)

Courage, the Cowardly Dog.
PS. Something fishy is going on there, or my name is Vadim Konovalov. And it's not.

  • Comment on Re: Re: Re: Constant subroutines thoughts

Replies are listed 'Best First'.
Re: Re: Re: Re: Constant subroutines thoughts
by Elian (Parson) on Jun 08, 2002 at 19:30 UTC
    The optimizer's actually really, really primitive. That's OK--optimizing perl's a non-trivial task, and in many cases it's just not worth the effort to do the optimization. Saving 10 seconds of runtime isn't worth it if the optimizer needs to run for 30 seconds to get it.

    Your point about modules is well taken, though not entirely obvious from the original node. :)