Is it possible for A_ThisFunc to change during runtime?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
iseahound
Posts: 1444
Joined: 13 Aug 2016, 21:04
Contact:

Is it possible for A_ThisFunc to change during runtime?

23 Mar 2019, 13:18

Was wondering if the way A_ThisFunc is coded is dynamic or static. If it's dynamic it would be evaluated to the function name at each call. If it's static then it is generated only once when the script runs.

My idea is to cache A_ThisFunc. (I'd be caching a processed value based on A_ThisFunc, not A_ThisFunc directly.

EDIT: After thinking about it a bit, there's no reason to speed up something O(1) to O(0.5). Not much gain. I'd still like to know how A_ThisFunc works though.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: doodles333, mikeyww and 305 guests