summaryrefslogtreecommitdiff
path: root/py/objexcept.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-03-16 23:54:06 +1100
committerDamien George <damien.p.george@gmail.com>2018-03-16 23:54:06 +1100
commitf6a1f18603de5c4d2321bcf4f967df298850e3f6 (patch)
tree6255444708454c8e979822219e44cb6cef83a477 /py/objexcept.c
parent06aa13c350af0f3910b2d99303548f31a85c0d9c (diff)
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%.
Diffstat (limited to 'py/objexcept.c')
0 files changed, 0 insertions, 0 deletions