in reply to Re^5: declaring lexical variables in shortest scope: performance?
in thread declaring lexical variables in shortest scope: performance?
what do you mean by aliasing? if you mean accessing complex structures $x->{'a'}->{'b'}->[$loop_index] , I always put the static part of the data structure outside the loop and use that "alias?" inside the loop
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: declaring lexical variables in shortest scope: performance?
by LanX (Saint) on Mar 31, 2020 at 12:31 UTC | |
by bliako (Abbot) on Mar 31, 2020 at 12:41 UTC | |
by Your Mother (Archbishop) on Mar 31, 2020 at 16:17 UTC | |
by LanX (Saint) on Mar 31, 2020 at 14:33 UTC |