- Joined
- Dec 12, 2010
- Messages
- 2,074
Is there any reason why this lib is stil a thing?
"pro": instead of creating object you check for the one of pre-created group, which perfomance-wise better.
Reality: any operation in JASS takes ages comparing to engine's workout, and timers are also the most light-weight object of the whole game. Even a single compare will kill all the purpose of this nitpicking, not to speak you also have to return value.
"pro": you can attach a single integer data inside the timer with 1 func.
Reality: you can do that via tons of other stuff, which barely makes any difference, as it's still dirty hack and not perfomance trick.
So what the point?
"pro": instead of creating object you check for the one of pre-created group, which perfomance-wise better.
Reality: any operation in JASS takes ages comparing to engine's workout, and timers are also the most light-weight object of the whole game. Even a single compare will kill all the purpose of this nitpicking, not to speak you also have to return value.
"pro": you can attach a single integer data inside the timer with 1 func.
Reality: you can do that via tons of other stuff, which barely makes any difference, as it's still dirty hack and not perfomance trick.
So what the point?