global variables to reduce cpu usage?

For general discussion related FlowStone
Post Reply
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

global variables to reduce cpu usage?

Post by Nubeat7 »

hi,

how is FS doing the compiling, does it optimize the code in any way? is it better to declare "global" variables on the top level and use them with wireless links to reduce cpu usage and/or memory.. things that are used often, like samplerate, ticker, colors,... but also TRUE / FALSE , 1, 0, -1 or other variables which are used often ... what makes sense and what not?

or does FS optimize stuff like this anyway when compiling?
Post Reply