seitime-frappe/frappe/database
Gavin D'souza b696fa6da5 perf: Pre-compile and re-use regexp pattern
Converted all possible usages of re.* that weren't compiling the regex
separately and re-using it. Separated out the compiled patterns as
global variables. Repetitive patterns could be made DRY-er.

Would be nicer to have all regexes in a single module so that we could
re-use better, keep track of outdated, and keep checks for possible
reDos' etc
2022-06-08 14:07:38 +05:30
..
mariadb fix: set translated text to link field (#15451) 2022-05-16 13:21:42 +00:00
postgres perf: Pre-compile and re-use regexp pattern 2022-06-08 14:07:38 +05:30
__init__.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
database.py perf: Pre-compile and re-use regexp pattern 2022-06-08 14:07:38 +05:30
db_manager.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
query.py perf: Pre-compile and re-use regexp pattern 2022-06-08 14:07:38 +05:30
schema.py perf: Pre-compile and re-use regexp pattern 2022-06-08 14:07:38 +05:30
sequence.py fix: create sequence onchange from any other autoname whcih is not autoincrement 2022-05-05 21:31:13 +05:30