Wednesday, March 29, 2006

Hash

Warning - A bit technical post, and if you think the outcome of reading the same is a bit bland, you need to add some spice on your own.

In Perl parlance, a hash is a collection of keys and values. Keys and values are linked. You could search for the value of the key or from value, find its corresponding key.

If you have a large data, and are looking forward to making a good data structure out of it so that it's manageable and quick-searchable, take my word and make a hash of it.

No comments: