in reply to Speed up hash initialization loop
write $profEvntVar->{$customProf} only once, assign the ref to a lexical, then deref the lexical each time. You cut 2 lookups to 1 on each line.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Speed up hash initialization loop
by roboticus (Chancellor) on Jan 30, 2013 at 13:46 UTC | |
by bulk88 (Priest) on Jan 30, 2013 at 21:25 UTC | |
by austinj (Acolyte) on Jan 30, 2013 at 14:33 UTC | |
Re^2: Speed up hash initialization loop
by austinj (Acolyte) on Jan 30, 2013 at 14:34 UTC | |
by Anonymous Monk on Jan 31, 2013 at 20:44 UTC |
In Section
Seekers of Perl Wisdom