Guest Posted May 21, 2014 Share Posted May 21, 2014 When /RenameMinimum is on, Au3Stripper doing a good job but i don't think that it is necessary to add "_" before each function name when the name is not number.. It is useless. The purpose of this option is to "Generates a much smaller file" so without the useless "_" before the name of the function - the file will be more smaller. Suggest that Au3Stripper will add it only if the random string(the name of the function) is number. In another case, it is unnecessary Link to comment Share on other sites More sharing options...
Developers Jos Posted May 21, 2014 Developers Share Posted May 21, 2014 When /RenameMinimum is on, Au3Stripper doing a good job but i don't think that it is necessary to add "_" before each function name when the name is not number.. It is useless. The purpose of this option is to "Generates a much smaller file" so without the useless "_" before the name of the function - the file will be more smaller. Suggest that Au3Stripper will add it only if the random string(the name of the function) is number. In another case, it is unnecessary This is to keep the readability to a reasonable level and doubt it saves a lot of space removing the underscore. Also need to avoid conflicts with internal functionnames and thus would require a check for avoiding duplications. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Guest Posted May 21, 2014 Share Posted May 21, 2014 (edited) What is the chance that will be internal function with name that the random string is the same? I guess chances is very low .. especially if the character length probably not be greater than four characters.. I think it might be nice to optimzation.. In any case, even if it is necessary check if the random string is matches to built in function, you only nead to create array which contains a list of all of the built in functions and then each time search in the array the random string. if the string found in the array then it will create another.. until the string was not found in the array. also, you can know that there is no built in function with less than X characters.. so do this check only if the random string length is from X characters. I hope you understand I want to be clear - I do not require you to do this. Do not think that I think you need to work for me. I'm just offering a suggestion. (In case you tell me "do it yourself")I do not want to sound incorrectly ... Edited May 21, 2014 by Guest Link to comment Share on other sites More sharing options...
Developers Jos Posted May 21, 2014 Developers Share Posted May 21, 2014 I do not want to sound incorrectly ... You aren't and I just told you my considerations when implementing this function in Obfuscator and later Au3Stripper. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JohnOne Posted May 21, 2014 Share Posted May 21, 2014 Worth pointing out to the op that you cannot start a function name with a number anyway. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
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