Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: iEpic on January 13, 2017, 02:47:45 PM
-
Does using a lot of global bools and testing them every frame impact performance at all?
-
What number is too many? 5, 10, 50000 bools?
-
like around 300
-
Hi,
In standard you always want to try using less as possible 'every frame'
but if you have to, you can use the profiler to see how much it impacts on the performance.
Are you testing the bools each separately or with a single action (bool all true/false)
You might wanna try different solutions.
Maybe you can use arrays or only test the bools on a certain moment.
it all depends on your project.