mmoalem

run from scite or compile

9 posts in this topic

HI there so finally got my first script working. Total beginner here BTW

SO the script will run in a loop 24/7 with some 1000 lines of code. Running it from scite has the advantage that I can modify it as and when I need to so trying to figure out the advantages of compiling it (for instance I dont need it to be portable exe as it is only correct for the particular server I setup)

Share this post


Link to post
Share on other sites



Running as exe has in your case (specialy for one machine) only one advantage: you can write and test other scripts with scite

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hi again @mmoalem
As far as I know every time you run the script there will be syntax check, pre compile task and then run your script, so I think(no completely sure) a compile script will have better performance than just running the script.

I'm a beginner like you so let the one with more expertise tell us the final words.

Regards
Alien.

Edited by alien4u
typo fixed

Share this post


Link to post
Share on other sites

thanks - I guess the real question for me was are there advantages in regard to CPU and memory usage once compiled?

Share this post


Link to post
Share on other sites

thanks for all the help guys

 

Share this post


Link to post
Share on other sites
3 hours ago, JohnOne said:

Yes there is. 1 process versus 3 or 4 including Wrappers etc, scite and autoit.

Meaning? sorry @JohnOne is not clear for me, English is not my first language.

1 - Process = Compile Script?
3 or 4 - Process = Running from SciTE editor?

Regards
Alien.

Share this post


Link to post
Share on other sites

I think he means that as an exe it is the only process running while running in scite means that the script is one process, scite itself is another prcess and so the wrappers that scite use to execute the script - so the CPU have 3 running processes

 

Share this post


Link to post
Share on other sites
6 hours ago, mmoalem said:

I think he means that as an exe it is the only process running while running in scite means that the script is one process, scite itself is another prcess and so the wrappers that scite use to execute the script - so the CPU have 3 running processes

 

Yes, plus autoit.exe


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

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