The problem
With the release of #987, the DFA performance for Cursorless+knausj went above 1s. We were able to dramatically improve performance by optimising the number_small capture in knausj in talonhub/community#993, but unfortunately it is going to be a bit painful for people to merge knausj, given several recent large changes (eg talonhub/community#947 and talonhub/community#897). In addition, people may not even know that a knausj merge is necessary; they'll just notice that Talon periodically stalls for a DFA recompile and not know why.
The solution
We propose to do the following:
The problem
With the release of #987, the DFA performance for Cursorless+knausj went above 1s. We were able to dramatically improve performance by optimising the
number_smallcapture in knausj in talonhub/community#993, but unfortunately it is going to be a bit painful for people to merge knausj, given several recent large changes (eg talonhub/community#947 and talonhub/community#897). In addition, people may not even know that a knausj merge is necessary; they'll just notice that Talon periodically stalls for a DFA recompile and not know why.The solution
We propose to do the following:
number_smallcapture and use it instead of the knausjnumber_smallwhen the Cursorless tag is activenumber_smallcapture, in case they have customised it, and only use our custom capture if this tag is disabled (which it will be by default)number_small, and mentioning DFA performancenumber_smallcapture, and pop up a link to docs page