diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-09 12:54:05 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-03-09 13:05:08 -0400 |
commit | e3dfcf6cba97f00a51d34f0feb67fe88d098fff5 (patch) | |
tree | 09ce5d2a291d79c328c17fd8dacb748c0a97a037 /docs/markdown/snippets | |
parent | 528696300afd3236e173242e1e09d1ac80dfec81 (diff) | |
download | meson-e3dfcf6cba97f00a51d34f0feb67fe88d098fff5.zip meson-e3dfcf6cba97f00a51d34f0feb67fe88d098fff5.tar.gz meson-e3dfcf6cba97f00a51d34f0feb67fe88d098fff5.tar.bz2 |
interpreter: memoize result of validate_within_subproject
This saves about 1% of execution time; path manipulation is expensive.
About 1% more could be saved by avoiding usage of "foo in bar.parents",
which is an expensive way to say "bar.startswith(foo)".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions