in reply to Trying to optimize de-referenced hash slice without scope variables...

Like Joost, I am a bit skeptical about the need for this "optimization." If the performance of your application hinges on the speed of accessing subroutine arguments, then I think Perl might not be the right choice. Have you done any profiling to see if this is the case, or are you simply stabbing in the dark? I suggest you do the former, rather than the latter, when it comes to expending time and effort to optimize your code.

  • Comment on Re: Trying to optimize de-referenced hash slice without scope variables...

Replies are listed 'Best First'.
Re^2: Trying to optimize de-referenced hash slice without scope variables...
by monsieur_champs (Curate) on Jun 17, 2004 at 19:05 UTC

    Dear fellow revdiablo

    In fact, you're right about this: I'm stabbling in the dark.

    But I'm not alone: this is a standard (?), required (?) optimization for TWiki Plugins like this and this.

    Maybe I shall alert the main project developers about this "optimization".

    Thank you for the insight.