you should show us more of the whole algorithm.
I'm pretty sure our solutions for this isolated part can't be done faster in pure Perl.
But probably you just need another general tactic.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re: Faster indexing an array
by LanX
in thread Faster indexing an array
by wollmers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |