1, MemoryLoadLibrary performance
Now it loads a ahk.dll, takes 4 milliseconds, can it be faster?
Code: Select all
FileRead,s,*c AutoHotkey.dll
t:=ahktime()
MemoryLoadLibrary(&s)
MsgBox % ahktime(t)
If the function is running,
new mandatory thread appearss, such as RegisterCallback (), or a call from another thread, such as CriticalObject (func ("MemoryLoadLibrary"))
Function will be an error, suggesting that the function can not find the sub-label.
Code: Select all
test(){
gosub,a
return
a:
return
}