AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Beta version pre-v1.0.48: Up to 3x faster performance
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Announcements
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sun Dec 21, 2008 2:46 pm    Post subject: Reply with quote

xazax wrote:
If we use setformat the speed will be the same, slower or still a bit faster than before?
Even a script that uses "SetFormat Integer" is likely to run faster with this version, especially if it uses a lot of complex expressions.

The next release should have a new mode for SetFormat that avoids sacrificing any performance. This new mode may slightly change the behavior of SetFormat so that it takes effect only when a script does something that requires a numeric variable to be converted to text.
Back to top
View user's profile Send private message Send e-mail
Supercalifragilistic
Guest





PostPosted: Sun Dec 21, 2008 4:44 pm    Post subject: Reply with quote

May be one bug ?
I tried
Code:
Var -=
and I had an error message.
The line is OK only if I write :
Code:
Var -= Var

With the precedent version, such a line wasn't an error.
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sun Dec 21, 2008 6:53 pm    Post subject: Reply with quote

I changed EnvSub (-=) to require two parameters so that it is consistent with EnvAdd and also to speed up the runtime evaluation. Is the purpose of leaving the right side blank to convert a blank variable to zero? If so, is it common enough that it should continue to be allowed?
Back to top
View user's profile Send private message Send e-mail
Drugwash



Joined: 07 Sep 2008
Posts: 921
Location: Ploiesti, RO

PostPosted: Sun Dec 21, 2008 10:58 pm    Post subject: Reply with quote

The way I see it, the Var -= expression would be a direct equivalent to Var --. A blank variable could automatically get the value of -1 (MOV AX, 0 DEC AX).
_________________
AHK tools by Drugwash
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Supercalifragilistic
Guest





PostPosted: Mon Dec 22, 2008 6:04 pm    Post subject: Reply with quote

Chris wrote:
I changed EnvSub (-=) to require two parameters so that it is consistent with EnvAdd and also to speed up the runtime evaluation. Is the purpose of leaving the right side blank to convert a blank variable to zero? If so, is it common enough that it should continue to be allowed?
No problem for me, Chris. I was just used to do that way. Thanks for the explanation.
Back to top
tamalemexican
Guest





PostPosted: Tue Dec 23, 2008 7:36 pm    Post subject: A request Reply with quote

Could you add in the ability to add author information, such as author, company, etc, I would really love to have this ability, I know NSIS has this ability. Many thanks if it can be possible. Very Happy
Back to top
Drugwash



Joined: 07 Sep 2008
Posts: 921
Location: Ploiesti, RO

PostPosted: Tue Dec 23, 2008 7:57 pm    Post subject: Reply with quote

Please check out the Compile_AHK II project, it's able to edit the VersionInfo, internal icons, compression, etc.
_________________
AHK tools by Drugwash
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
jak



Joined: 28 Feb 2006
Posts: 159

PostPosted: Sun Dec 28, 2008 5:52 am    Post subject: Reply with quote

hi gang,
Dont know how useful this feedback will be since I havent done any extensive testing, but I did download the beta and tried it out. Initially it worked great, and the (enormous) ahk script that I have did seem snappier.
However, after about 1/2 hour of using my computer, everything slowed down to a crawl. (memory leak?). Shutdown took 7 minutes. On reboot, same thing, works well for maybe 15 minutes, then everything crawls. Tried removing other stuff in my startup folder, no difference. Replaced autohotkey.exe with the previous working version and voila everything is fine now.
I cant say for sure if it was this beta's fault because I was working on stuff for work and didnt (and dont really) have too much time to diagnose, I downloaded it out of curiosity and I do think it made my script run faster. If you want any specific information that I could provide, please ask (and please keep in mind I'm not any kind of computer expert, just a noodler).
Thanks!
P.s., WinXP, SP3, 1.7ghz pentium M, 2gb RAM, 80gb hard drive with about 30gb free, and an extremely large ahk file that does everything I can imagine.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sun Dec 28, 2008 9:10 pm    Post subject: Reply with quote

If it is a memory leak large enough to cause the symptoms you describe, that could be easily verified via Task Manager. Otherwise, since your script appears to be the only one tested so far that has this issue, perhaps the nature of this particular script has something to do with it (e.g. GUI/GDI/resource usage or having more than a few million dynamic variables).

The scripts I run 24/7 show no signs of a memory leak. Also, the beta version has successfully run an extensive series of automatic tests.

Anyway, thanks for the report. I'll keep an eye out for anything that can confirm or reproduce this issue.
Back to top
View user's profile Send private message Send e-mail
jak



Joined: 28 Feb 2006
Posts: 159

PostPosted: Sun Dec 28, 2008 10:57 pm    Post subject: Reply with quote

Chris wrote:
If it is a memory leak large enough to cause the symptoms you describe, that could be easily verified via Task Manager. Otherwise, since your script appears to be the only one tested so far that has this issue, perhaps the nature of this particular script has something to do with it (e.g. GUI/GDI/resource usage or having more than a few million dynamic variables).

The scripts I run 24/7 show no signs of a memory leak. Also, the beta version has successfully run an extensive series of automatic tests.

Anyway, thanks for the report. I'll keep an eye out for anything that can confirm or reproduce this issue.


When I get a chance I'll switch back to the beta and see if it happens again, and if it does, I'll check memory/process/cpu usage using taskmanager and process explorer. I'll report if I find anything interesting.
Thanks Chris!
Back to top
View user's profile Send private message
tamalemexican
Guest





PostPosted: Tue Dec 30, 2008 2:20 am    Post subject: Would it be possible... Reply with quote

Would it be possible to add the ability to directly save a registry string? I know you can delete registry values, write to them, and read them, but it would be great to be able to have an ability to directly be able to save them as .reg files to a location of your choice. So that away you dont have to do a whole bunch of other commands to do this when you could just have one command do it. Very Happy
Back to top
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Tue Dec 30, 2008 3:24 am    Post subject: Reply with quote

Laszlo wrote:
...could you post such an AutoHotkeySC.bin? It would be very nice to provide the speedups to people, who don't have AHK installed.
Also, several of my friends use my large compiled AHK scripts, so we could see the results of many more tests with the right AutoHotkeySC.bin. Any chance to get it, Chris?
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Tue Dec 30, 2008 3:07 pm    Post subject: Reply with quote

No problem. I would have posted it originally had I realized how long it would take to find time to finish the next release.

For those who would like to compile scripts with this beta version, unzip the following file in your \Program Files\AutoHotkey\Compiler folder:
www.autohotkey.com/misc/AutoHotkey-Pre-1.0.48-BIN-new.zip (240 KB)


Last edited by Chris on Wed Dec 31, 2008 1:53 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Tue Dec 30, 2008 3:51 pm    Post subject: Reply with quote

Thanks! The first test result: a 10,000 line compiled, real-time script full of dll calls, callback functions, timers, etc. works perfectly on two different computers (XP, Vista-32).
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Wed Dec 31, 2008 1:53 am    Post subject: Reply with quote

The compiler/BIN file link above has been fixed on 12/30/2008 so that the /NoDecompile switch works.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Announcements All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 4 of 9

 
Jump to:  
You cannot post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group