To hash or not to hash (SOLVED)

Hash() is really fast, however it is even better to pre-hash - you can pre-hash all values that you would like to use in the module and then require it whenever needed or make a global access, take a look here: :wink:

I’m using such module and whenever, it has also the advantage that you can change each value only in one module and you have all those values of course listed in one convenient place. I’m required a module as a global and I’m using everywhere m.ENABLE, m.START, m.ATTACK, etc. :wink:

3 Likes