diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-17 15:36:40 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-18 08:11:25 +0200 |
commit | 847bb4347039e8f52c661a6d9cddd411f42b41ed (patch) | |
tree | 018ddefa47a059897a59dcf54189f9a3b113ac64 /docs/markdown/Using-the-WrapDB.md | |
parent | cbde13850f1334ef3019288096ccd95dfcdaec6e (diff) | |
download | meson-847bb4347039e8f52c661a6d9cddd411f42b41ed.zip meson-847bb4347039e8f52c661a6d9cddd411f42b41ed.tar.gz meson-847bb4347039e8f52c661a6d9cddd411f42b41ed.tar.bz2 |
clike: optimize to_native
Look for group-able flags with a single regex match, since we are already using
regexes for .so files. Also weed out flags other than -isystem very quickly
with a single startswith call.
On a QEMU build, the time spent in to_native goes from 2.279s to 1.322s.
Diffstat (limited to 'docs/markdown/Using-the-WrapDB.md')
0 files changed, 0 insertions, 0 deletions