[Refactor] Minor DFA optimisation with GetUserCode call
Summary
This merge request provides a minor speed boost to DFA code by reducing the number of calls to the expensive GetUserCode
routine from 2 to 1. This is done by storing the result of the first call and reusing it later (the node tree is not transformed in between the calls).
System
- Processor architecture: All
What is the current bug behavior?
N/A
What is the behavior after applying this patch?
DFA should be slightly faster.
Relevant logs and/or screenshots
This is a pure refactor and resultant binaries and assembly dumps should not change (except in psub
)