JSThePatriot Posted May 11, 2006 Posted May 11, 2006 Addressing size:Stop for a second and think about other scripting languages that are as powerful as AutoIt. How big are compiled scripts in them? Can you even compile your scripts in them? Do they require a large run-time?Addressing performance:As the saying goes, "pre-mature optimization is the root of all evil". Optimize your code first (with benchmarks) and then we'll see where the real performance bottlenecks lie. I would be willing to bet that I can find more performance gains optimizing the referenced code in a script than I can find by eliminating unreferenced code from a script.I must say I have to agree with Valik, Saving a few KB would only be (as stated in all the other threads) useful if you are using a central location over a network running the file to a bunch of computers to do a mass update or something. (I forget how it was worded before, but someone made a valid point somewhere along those lines). I dont have a need for that. AutoIt is small enough for me even with 20 includes.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
Valik Posted May 11, 2006 Posted May 11, 2006 @JdeBNot tested anything yet. But overload in performance is not so much the script or Exe file. Rather than than the performance indeveloping, using these large "include" files.This topic is based on someone saying, he has plans to make a new Excel.au3 include from scratch. With the intention to add more in there than thera alread is in the curent one.I am not fond of this so kalled" overkill" aproach. Did you ever try to work such an overloaded include file. This doesn't make any sense. Why is it of any concern to you how much effort other people put in making thorough, feature-rich libraries?
Moderators SmOke_N Posted May 11, 2006 Moderators Posted May 11, 2006 (edited) What's an include ? If it's a function that I use often, I just make that function an #include, and if I don't use it often, I just get it out of the #include file with a script I wrote and put it in my script, sucks when helping in the forum, because I have to remember where the actual functions are located in the "actual" include files . Edit: Grammar is not my strong point lol. Edited May 11, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
ptrex Posted May 11, 2006 Author Posted May 11, 2006 This doesn't make any sense. Why is it of any concern to you how much effort other people put in making thorough, feature-rich libraries?If the include functions are badly written it takes it takes a hell of a lot of time to debug.I am not interested in this so far.Does this make any sence, then BTW this is the last reply i will write about it because it is going over the top. Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
Developers Jos Posted May 11, 2006 Developers Posted May 11, 2006 (edited) If the include functions are badly written it takes it takes a hell of a lot of time to debug.I am not interested in this so far.Does this make any sence, then BTW this is the last reply i will write about it because it is going over the top. Don't bale yet from this interesting discussion... Maybe not all functions are written is the best possible way, but I don't understand what you mean by debugging them ?You don't need to debug any of them as far as I can tell. The helpfile describes what they do, like the internal commands, and they should work as advertised...When they don't, then post a Bug report like you would do for internal commands...Agree ? Edited May 11, 2006 by JdeB 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.
Valik Posted May 11, 2006 Posted May 11, 2006 Functions should be treated as a black box with an assumed contract between the library vendor and the user. The vendor tells you what to give the function and what the function will give you in return. As long as you give good input, the function should give good output. If it doesn't, then you first try to find out if the vendor has provided a fix. Only if the vendor is unavailable or unwilling to fix a bug do you open the cover on the black box and look at the insides of the function. Debugging other people's libraries is a last resort unless there is a pressing need for a fix. It is not common to debug 3rd-party libraries.This is not unlike built-in functions (as JdeB mentions). You don't have current source for AutoIt so if you find a bug in a built-in function you have to report it according to our guidelines in the bug report forum. A library function is no different just because you do have the source available.The distinction you are failing to make is you are not immediately responsible for maintaining library code if you are not the author. Only when the author abandons the library or when consciously make a decision to take over the library because of disagreements between yourself and the original author does it become important to debug the libraries code. In other words, you are no more responsible for fixing bugs you find in libraries than you are for fixing bugs you find in AutoIt itself. If you do feel responsible, that is your choice and is most definitely not grounds for making outrageous statements like you did above where the size and performance of AutoIt are questioned.
ptrex Posted May 11, 2006 Author Posted May 11, 2006 @JdeB/ValikOK, I owe you a last reply in order not to miscunderstand each other.I was not talking about the official "Includes", let that be clear. They are of outstanding quality and if something goes wrong a fix is there in no time. And indead this is taken serious over the whole line.My concern goes out to the ones that get not promoted, to be an official "Include" library.If someone like here http://www.autoitscript.com/forum/index.ph...ndpost&p=182583 want to start making UDF's, than I was only sharing my point of view on the pro and con's of large UDF's.Don' t feel offended, I was merely sharing my view.I still love AutoIT, and would be the last to attack it's design !! Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
Developers Jos Posted May 11, 2006 Developers Posted May 11, 2006 I was not talking about the official "Includes", let that be clear. Ok that helps to clarify were you are coming from, but you mentioned IE.au3, which is about to become part of the standard include library. The helpfile is nearly ready as you might have seen. This was the main reason for me to jump into this threat. My concern goes out to the ones that get not promoted, to be an official "Include" library.Agree you need to be a bit more careful here , but that statement is valid for many scripts posted.I will run/use only those scripts that I understand how they work.... Don' t feel offended, I was merely sharing my view.Not offended at all... I like people with an (strong) opinion... just wanted to make sure it is clear how I feel about the subject and try to put things in perspective. 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.
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