diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-07 12:12:10 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-03-01 16:40:58 +0200 |
| commit | 25abe40343d549d0fa5e6e50a09ce05647e3145a (patch) | |
| tree | 5bc5f75fc24067f76931f523fcda7c8b671939dc /docs/markdown/Python-module.md | |
| parent | 92c517ea69e0578515d15061e7ec32f518733acf (diff) | |
| download | meson-25abe40343d549d0fa5e6e50a09ce05647e3145a.tar.gz | |
arglist: optimize __init__()
"Inline" CompilerArgs.__iter__() into CompilerArgs.__init__(), so that
replace list(Iterable) is replaced by the much faster list(List).
Before:
ncalls tottime cumtime
19268 0.163 3.586 arglist.py:97(__init__)
After:
ncalls tottime cumtime
18674 0.211 3.442 arglist.py:97(__init__)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/markdown/Python-module.md')
0 files changed, 0 insertions, 0 deletions
