-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Hey, I just switched on to moving my AutoHotInterception scripts to v2, so figured I'd get the latest version too.
I repeatedly Subscribe and Unsubscribe depending on if a condition is met, and upon finishing transition to the latest version, I realized that Subscribing multiple keys in a row is taking ages.
At first I figured I had probably ported AHI to v2 incorrectly somehow, so I went back to v1 and tried the latest version there.
Exact same issue.
To further detail what happens:
Once subscriptions have been done (logging the functions in AHK, it seemingly goes very fast), pressing any of the subscribed keys won't do anything for a while (as extreme as 10 subscriptions taking like 10 seconds?).
Until suddenly, all the keystrokes appear to be processed at the same time, creating a huge spam.
Afterwards it works as normal, until it's time to re-subscribe.
Old version I was on (0.5.0), there wasn't really any noticeable lag after subscribing, it felt instant.
And I haven't tried any version in-between until latest (0.8.0), so couldn't really say when the problem was introduced.