Hi everyone,
have always been wondering, is it wise to be using dictionary lookups like "has key" or string "find" operations inside arrays for actions that are meant to be responsive and go over many ticks, like firing a weapon?
E.g. I keep track of weapon upgrades in a concatenated string inside an array, since there can be an indefinite amount theoretically.
But I'm wondering if parsing that string in an array is performant?