And if you want to create the hash, the fastest way I know of is:
my %is_there; undef(@is_there{@list});
In reply to Re (tilly) 1: Quickly finding an element in an array
by tilly
in thread Quickly finding an element in an array
by tomhukins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |