![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^3: in_array and skipping foreachby jbrugger (Parson) |
on Apr 13, 2005 at 14:43 UTC ( #447428=note: print w/replies, xml ) | Need Help?? |
Isn't it faster to create a lookuptable next to your array?
The value in the array will be the key in the lookup table (hash) with the value 0 or 1.
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
In Section
Seekers of Perl Wisdom
|
|