|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^3: in_array and skipping foreachby jbrugger (Parson) |
| on Apr 13, 2005 at 10:43 UTC ( [id://447428]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||