If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
global variables to reduce cpu usage?
1 post
• Page 1 of 1
global variables to reduce cpu usage?
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?
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?
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 57 guests