Originally Posted By: DJ_Sol
Unless they are settings that get checked fast and a lot or are for critical things like room protections, using hash is a waste of resources in my opinion. Hash is great, it is indeed very fast but shouldn't be overused. Im not speaking about any posted codes here but just in general.

I use hash tables to save information that needs to be checked often and very quickly. Simple settings that may get checked once or twice I use ini or variables, which is ini.

Also, for processing, parsing, evaluating or compiling information hash tables are great.


Agreed. I know people who use hash tables for all of their script's settings (Invision does as well). That's fine. However, it really isn't worth it for things that are not used often. Hash tables are useful for handling large amounts of data quickly. They also make certain things much easier. But that doesn't mean they are always the best solution.


Invision Support
#Invision on irc.irchighway.net