I am new to coding and just getting into it. I have couple of questions.
Lets say I have a list that stores every item in the game and the owner of the item. If I was to have 100 unique items and 20 different owners it would be possible for the list to have as much as 2k items.
- Is that much or pretty usual ? I will be doing a lot of loops through the list for search of specific item quite often.
- Should I be removing items from the list I don’t need ? Does this affect the performance in any noticable way ?
- I am making a medium-small scoped adventure game. Should I know of any future coding threats that I should prepare for now ?
So far I have script for file reading and decoding, and couple data structures. Coding is the truest Love & Hate relationship.