aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/vs2010backend.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-17 15:26:11 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-18 08:11:19 +0200
commit3d4fb02e2907b2532333fdb5eefe6335c7cd94c4 (patch)
tree6f2d1bac6c34b949076e104db57e08a4ae720563 /mesonbuild/backend/vs2010backend.py
parentb7a4c0793ceab4fcde64098e164c36f8fbd48b64 (diff)
downloadmeson-3d4fb02e2907b2532333fdb5eefe6335c7cd94c4.zip
meson-3d4fb02e2907b2532333fdb5eefe6335c7cd94c4.tar.gz
meson-3d4fb02e2907b2532333fdb5eefe6335c7cd94c4.tar.bz2
ninjabackend: optimize ninja_quote
Use regular expressions to quickly weed out strings that require quoting On a QEMU build the time spent in ninja_quote goes from 1.978s to 1.281s, with str.replace being kicked completely out of the profile.
Diffstat (limited to 'mesonbuild/backend/vs2010backend.py')
0 files changed, 0 insertions, 0 deletions