VicTT Posted August 10, 2005 Posted August 10, 2005 Does any of you know FOR CERTAIN if Local $variable and Local $variable="" produce EXACTLY the same C++ code/effect at runtime?I mean, by writing the second one, I am assuming the interpretor is smart enough to consider it identical to the first and not give me any speed overhead.. Quote Together we might liveDivided we must fall
jdickens Posted August 10, 2005 Posted August 10, 2005 Maybe not certain, but this test shows (for me) that not assigning the variable is a little quicker: JAssignmentTest01.au3 If I am too verbose, just say so. You don't need to run on and on.
jpm Posted August 10, 2005 Posted August 10, 2005 Does any of you know FOR CERTAIN ifLocal $variableandLocal $variable=""produce EXACTLY the same C++ code/effect at runtime?I mean, by writing the second one, I am assuming the interpretor is smart enough to consider it identical to the first and not give me any speed overhead..<{POST_SNAPBACK}>AutoIt script are not compile in the sense of generating binary code. It produce pseudo code. so the $variable="" generate more work to do. So Jdickens is right when he say little quicker
VicTT Posted August 10, 2005 Author Posted August 10, 2005 Yep..you're right, thanx for your replies.. @jpm I am perfectly aware that it doesn't produce machine-code, that's why I said it produces C++ code..(it calls it at runtime) Quote Together we might liveDivided we must fall
jpm Posted August 10, 2005 Posted August 10, 2005 Yep..you're right, thanx for your replies..@jpmI am perfectly aware that it doesn't produce machine-code, that's why I said it produces C++ code..(it calls it at runtime) <{POST_SNAPBACK}>it is not producing even a c++ code but as I say pseudo code based on autoit language
VicTT Posted August 11, 2005 Author Posted August 11, 2005 We agree ..It calls C++ code at runtime :D....jpm..I submit manual corrections to you?All which I find? Quote Together we might liveDivided we must fall
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now