Files
@ 39a59e6915bb
Branch filter:
Location: kallithea/dev_requirements.txt
39a59e6915bb
186 B
text/plain
helpers: refactor and optimize urlify_issues
Avoid parsing the configuration and compiling regexps every time a string is
processed.
Instead, the configuration is parsed once and turned into a function that apply
the compiled regexps in a chain.
A next iteration can perhaps run them in parallel and integrate with the
general urlify machinery.
Avoid parsing the configuration and compiling regexps every time a string is
processed.
Instead, the configuration is parsed once and turned into a function that apply
the compiled regexps in a chain.
A next iteration can perhaps run them in parallel and integrate with the
general urlify machinery.