Jump to content

Recommended Posts

Posted

1. I need to modify my scripts so that they use as little CPU time as possible. Are there any best-practices?

2. Would a script created with Autoit use more CPU time than the same script created in VB or C++?

3. Would it help to reduce CPU time if I created DLL's with Purebasic and then call them in Autoit?

I probably will have more questions.... :)

Thanks.

Posted

I dont think there is much to say without seeing a specific script that is causing you problems.

To reduce CPU load you would need to have maybe some sleep(10) commands in intense loops

You could also look at ProcessSetPriority() and set a lower priority if your application can cope with only doing work while the CPU is quite

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...