JScript Posted September 22, 2011 Posted September 22, 2011 Hi, I have a few doubts about: DllStructCreate(), DllStructSetData() and DllStructGetData(): 1- Use structures is faster than reading or writing variables? 2- DllStructs is slow to access than basic variables? 3- Is better than simple variables? Thanks in advance! João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
Beege Posted September 22, 2011 Posted September 22, 2011 No. You should pretty much only be using these functions when you are working with a dll that requires some kind of a specific dll structure. Not for simple vars. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator
JScript Posted September 22, 2011 Author Posted September 22, 2011 So read and write in variable is faster than using those functions? João carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
Beege Posted September 22, 2011 Posted September 22, 2011 Never tested but logic says yes. Dllstruct*** calls a function that sets a var. Where $a=1 just sets the var. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator
JScript Posted September 22, 2011 Author Posted September 22, 2011 Yes, It makes sense... Thanks! João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
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