Skip to content
Snippets Groups Projects
Commit f6a1f186 authored by Damien George's avatar Damien George
Browse files

py/makeqstrdefs.py: Optimise by using compiled re's so it runs faster.

By using pre-compiled regexs, using startswith(), and explicitly checking
for empty lines (of which around 30% of the input lines are), automatic
qstr extraction is speed up by about 10%.
parent 06aa13c3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment