I have things in my game that need to happen constantly and would usually happen every tick, e.g. the character's eyes looking around at stuff in the environment, the player's cursor-crosshair-thing jumping to the nearest usable object, etc.
To try and improve optimization, I've added 'every 1/10 seconds' or 'every 1/6 seconds' and similar things to the conditions, so that the computer doesn't need to do everything on every frame. However, I don't know whether this is actually a good idea. On the one hand, the computer should be doing fewer calculations and stuff every tick, but on the other hand maybe it's actually really performance-intensive to have the computer keeping track of all these different timers? I dunno.
Is this a good idea?