Skip to content

Resolve/compile regexp rules lazily

Waqar Ahmed requested to merge work/regexp-no-resolve into master

Otherwise it hurts kate startup time for e.g.,

Some results:

Before:
Loading "None" , Done in :  0 ms
Loading "CMake" , Done in :  19 ms
Loading "XML" , Done in :  0 ms
Loading "JSON" , Done in :  0 ms
Loading "Markdown" , Done in :  70 ms

After:
Loading "None" , Done in :  0 ms
Loading "CMake" , Done in :  9 ms
Loading "XML" , Done in :  0 ms
Loading "JSON" , Done in :  0 ms
Loading "Markdown" , Done in :  34 ms
Edited by Waqar Ahmed

Merge request reports

Loading