The title is fairly self explanatory. At the moment I have a function which needs to gather data extremely quickly, I've experimented a bit with various ways of speeding up my code like spawning the code to run parallel in different threads. Obviously this means the code runs in the scheduled environment which seems to work well, however I think it would be useful to try running it in the unscheduled environment to see if it makes a difference to performance.
The only ways I can think of for doing this would be to run the code from an FSM or from an init line, but for this situation unfortunately it isn't too practical as I would like to keep all my code within one file for the moment and the code I have at the moment is running in the scheduled environment.
If anyone can help that would be fantastic. If you would like a code snippet then don't hesitate to ask