Closed set-soft closed 3 years ago
The regex used in units.py is huge, applied to all components many times and compiled every time.
This patch uses a global variable to compile it once and reuse the compiled regex.
Please fix the conflicts here and I'll merge, thanks
Done, now referenced to your current HEAD commit.
Thanks!
The regex used in units.py is huge, applied to all components many times and compiled every time.
This patch uses a global variable to compile it once and reuse the compiled regex.