in reply to Data structure efficiency

Hi Shine

I will encourage you to start using the Super Search functionality we have at the Monastery. I do that for two reasons:

  1. Usually you will find the answer to your question
  2. Even if you do not find the answer to your question, finding similar posts will help you write your question in such a way that you get the best possible answers

Having said that, if you do a Super Search using the terms: efficient data structure, you will find some nodes that will give you a hint on the answer to your question. Some of these nodes are:

The list is longer, but I just wanted to get you started. You can also check the Tutorials section, in particular the node on basic data types

Finally, I also recommend you to have a look at the book: Mastering Algorithms with Perl.

I hope this information helps you get started

Cheers,

lin0