Laurent is right, have a look at these two posts/subthreads to get a good idea of how fast Perl's hashes are:
Re: Determining uniqueness in a string. (giant hash lookup...)In reply to Re^3: Appending values to existing hash key
by hazylife
in thread Appending values to existing hash key
by jaypal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |